HSL(256, 54%, 14%)
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(256,54%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(256, 54%, 14%) | color: hsl(256, 54%, 14%) | |
| HEX | #1B1037 | color: #1B1037 | |
| RGB | rgb(27, 16, 55) | color: rgb(27, 16, 55) | |
| CMYK | cmyk(51%, 71%, 0%, 78%) | — | |
| HSV | hsv(257, 71%, 22%) | — | |
| HWB | hwb(257 6% 78%) | color: hwb(257 6% 78%) | |
| OKLCH | oklch(0.2137 0.0726 292.12) | color: oklch(0.2137 0.0726 292.12) | |
| Lab | lab(7.94 17.18 -23.58) | color: lab(7.94 17.18 -23.58) | |
| LCH | lch(7.94 29.17 306.08) | color: lch(7.94 29.17 306.08) |
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)
#16162E — rgb(22, 22, 46)
Deuteranopia (Green-blind)
#17182B — rgb(23, 24, 43)
Tritanopia (Blue-blind)
#1A2624 — rgb(26, 38, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(256, 54%, 14%);
text
color: hsl(256, 54%, 14%);
border
border: 2px solid hsl(256, 54%, 14%);
gradient light
background: linear-gradient(to right, hsl(256, 54%, 34%), hsl(256, 54%, 14%));
gradient dark
background: linear-gradient(to right, hsl(256, 54%, 14%), hsl(256, 54%, 0%))
hex
background-color: #1B1037;
tailwind
bg-[hsl(256,54%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(256, 54%, 14%, 0.4);
css variable
--color-primary: hsl(256, 54%, 14%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(256, 54%, 14%)?
HEX: #1B1037 | RGB: rgb(27, 16, 55) | CMYK: 51%, 71%, 0%, 78% | HSV: 257°, 71%, 22%. Copy any format from the conversion table above.
What colors go well with #1B1037?
The complementary color is HSL(76, 54%, 14%). For a triadic harmony, use hues 256°, 16°, and 136°. For analogous combinations, try hues 226° and 286°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(256, 54%, 14%) in CSS?
As HSL: color: hsl(256, 54%, 14%); — As HEX: color: #1B1037; — As RGB: color: rgb(27, 16, 55); — Tailwind CSS: bg-[hsl(256,54%,14%)] — CSS variable: --color-primary: hsl(256, 54%, 14%);