HSL(267, 70%, 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(267,70%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 70%, 12%) | color: hsl(267, 70%, 12%) | |
| HEX | #1C0934 | color: #1C0934 | |
| RGB | rgb(28, 9, 52) | color: rgb(28, 9, 52) | |
| CMYK | cmyk(46%, 83%, 0%, 80%) | — | |
| HSV | hsv(267, 83%, 20%) | — | |
| HWB | hwb(267 3% 80%) | color: hwb(267 3% 80%) | |
| OKLCH | oklch(0.1997 0.0798 299.23) | color: oklch(0.1997 0.0798 299.23) | |
| Lab | lab(6.23 20.47 -24.14) | color: lab(6.23 20.47 -24.14) | |
| LCH | lch(6.23 31.65 310.3) | color: lch(6.23 31.65 310.3) |
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)
#14142A — rgb(20, 20, 42)
Deuteranopia (Green-blind)
#151627 — rgb(21, 22, 39)
Tritanopia (Blue-blind)
#1B2120 — rgb(27, 33, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 70%, 12%);
text
color: hsl(267, 70%, 12%);
border
border: 2px solid hsl(267, 70%, 12%);
gradient light
background: linear-gradient(to right, hsl(267, 70%, 32%), hsl(267, 70%, 12%));
gradient dark
background: linear-gradient(to right, hsl(267, 70%, 12%), hsl(267, 70%, 0%))
hex
background-color: #1C0934;
tailwind
bg-[hsl(267,70%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 70%, 12%, 0.4);
css variable
--color-primary: hsl(267, 70%, 12%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 70%, 12%)?
HEX: #1C0934 | RGB: rgb(28, 9, 52) | CMYK: 46%, 83%, 0%, 80% | HSV: 267°, 83%, 20%. Copy any format from the conversion table above.
What colors go well with #1C0934?
The complementary color is HSL(87, 70%, 12%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 70%, 12%) in CSS?
As HSL: color: hsl(267, 70%, 12%); — As HEX: color: #1C0934; — As RGB: color: rgb(28, 9, 52); — Tailwind CSS: bg-[hsl(267,70%,12%)] — CSS variable: --color-primary: hsl(267, 70%, 12%);