HSL(262, 53%, 9%)
Very Dark Indigo — Indigo color
Adjust Color
Color Information
Color Name
Very Dark Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,53%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 53%, 9%) | color: hsl(262, 53%, 9%) | |
| HEX | #140B23 | color: #140B23 | |
| RGB | rgb(20, 11, 35) | color: rgb(20, 11, 35) | |
| CMYK | cmyk(43%, 69%, 0%, 86%) | — | |
| HSV | hsv(263, 69%, 14%) | — | |
| HWB | hwb(263 4% 86%) | color: hwb(263 4% 86%) | |
| OKLCH | oklch(0.177 0.0485 298.64) | color: oklch(0.177 0.0485 298.64) | |
| Lab | lab(4.6 9.31 -13.98) | color: lab(4.6 9.31 -13.98) | |
| LCH | lch(4.6 16.8 303.66) | color: lch(4.6 16.8 303.66) |
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)
#10101D — rgb(16, 16, 29)
Deuteranopia (Green-blind)
#11111C — rgb(17, 17, 28)
Tritanopia (Blue-blind)
#141918 — rgb(20, 25, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 53%, 9%);
text
color: hsl(262, 53%, 9%);
border
border: 2px solid hsl(262, 53%, 9%);
gradient light
background: linear-gradient(to right, hsl(262, 53%, 29%), hsl(262, 53%, 9%));
gradient dark
background: linear-gradient(to right, hsl(262, 53%, 9%), hsl(262, 53%, 0%))
hex
background-color: #140B23;
tailwind
bg-[hsl(262,53%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 53%, 9%, 0.4);
css variable
--color-primary: hsl(262, 53%, 9%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 53%, 9%)?
HEX: #140B23 | RGB: rgb(20, 11, 35) | CMYK: 43%, 69%, 0%, 86% | HSV: 263°, 69%, 14%. Copy any format from the conversion table above.
What colors go well with #140B23?
The complementary color is HSL(82, 53%, 9%). 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, 53%, 9%) in CSS?
As HSL: color: hsl(262, 53%, 9%); — As HEX: color: #140B23; — As RGB: color: rgb(20, 11, 35); — Tailwind CSS: bg-[hsl(262,53%,9%)] — CSS variable: --color-primary: hsl(262, 53%, 9%);