HSL(257, 37%, 12%)
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(257,37%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 37%, 12%) | color: hsl(257, 37%, 12%) | |
| HEX | #1A132A | color: #1A132A | |
| RGB | rgb(26, 19, 42) | color: rgb(26, 19, 42) | |
| CMYK | cmyk(38%, 55%, 0%, 84%) | — | |
| HSV | hsv(258, 55%, 16%) | — | |
| HWB | hwb(258 7% 84%) | color: hwb(258 7% 84%) | |
| OKLCH | oklch(0.2084 0.0451 296.3) | color: oklch(0.2084 0.0451 296.3) | |
| Lab | lab(7.7 10.14 -14.41) | color: lab(7.7 10.14 -14.41) | |
| LCH | lch(7.7 17.62 305.13) | color: lch(7.7 17.62 305.13) |
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)
#171724 — rgb(23, 23, 36)
Deuteranopia (Green-blind)
#171823 — rgb(23, 24, 35)
Tritanopia (Blue-blind)
#1A201F — rgb(26, 32, 31)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 37%, 12%);
text
color: hsl(257, 37%, 12%);
border
border: 2px solid hsl(257, 37%, 12%);
gradient light
background: linear-gradient(to right, hsl(257, 37%, 32%), hsl(257, 37%, 12%));
gradient dark
background: linear-gradient(to right, hsl(257, 37%, 12%), hsl(257, 37%, 0%))
hex
background-color: #1A132A;
tailwind
bg-[hsl(257,37%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 37%, 12%, 0.4);
css variable
--color-primary: hsl(257, 37%, 12%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 37%, 12%)?
HEX: #1A132A | RGB: rgb(26, 19, 42) | CMYK: 38%, 55%, 0%, 84% | HSV: 258°, 55%, 16%. Copy any format from the conversion table above.
What colors go well with #1A132A?
The complementary color is HSL(77, 37%, 12%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 37%, 12%) in CSS?
As HSL: color: hsl(257, 37%, 12%); — As HEX: color: #1A132A; — As RGB: color: rgb(26, 19, 42); — Tailwind CSS: bg-[hsl(257,37%,12%)] — CSS variable: --color-primary: hsl(257, 37%, 12%);