HSL(262, 69%, 16%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,69%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 69%, 16%) | color: hsl(262, 69%, 16%) | |
| HEX | #210D45 | color: #210D45 | |
| RGB | rgb(33, 13, 69) | color: rgb(33, 13, 69) | |
| CMYK | cmyk(52%, 81%, 0%, 73%) | — | |
| HSV | hsv(261, 81%, 27%) | — | |
| HWB | hwb(261 5% 73%) | color: hwb(261 5% 73%) | |
| OKLCH | oklch(0.2296 0.0978 293.49) | color: oklch(0.2296 0.0978 293.49) | |
| Lab | lab(9.33 25.21 -31.29) | color: lab(9.33 25.21 -31.29) | |
| LCH | lch(9.33 40.18 308.86) | color: lch(9.33 40.18 308.86) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#181837 — rgb(24, 24, 55)
Deuteranopia (Green-blind)
#1A1B34 — rgb(26, 27, 52)
Tritanopia (Blue-blind)
#202D2A — rgb(32, 45, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 69%, 16%);
text
color: hsl(262, 69%, 16%);
border
border: 2px solid hsl(262, 69%, 16%);
gradient light
background: linear-gradient(to right, hsl(262, 69%, 36%), hsl(262, 69%, 16%));
gradient dark
background: linear-gradient(to right, hsl(262, 69%, 16%), hsl(262, 69%, 0%))
hex
background-color: #210D45;
tailwind
bg-[hsl(262,69%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 69%, 16%, 0.4);
css variable
--color-primary: hsl(262, 69%, 16%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 69%, 16%)?
HEX: #210D45 | RGB: rgb(33, 13, 69) | CMYK: 52%, 81%, 0%, 73% | HSV: 261°, 81%, 27%. Copy any format from the conversion table above.
What colors go well with #210D45?
The complementary color is HSL(82, 69%, 16%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 69%, 16%) in CSS?
As HSL: color: hsl(262, 69%, 16%); — As HEX: color: #210D45; — As RGB: color: rgb(33, 13, 69); — Tailwind CSS: bg-[hsl(262,69%,16%)] — CSS variable: --color-primary: hsl(262, 69%, 16%);