HSL(268, 83%, 10%)
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(268,83%,10%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 83%, 10%) | color: hsl(268, 83%, 10%) | |
| HEX | #18042F | color: #18042F | |
| RGB | rgb(24, 4, 47) | color: rgb(24, 4, 47) | |
| CMYK | cmyk(49%, 91%, 0%, 82%) | — | |
| HSV | hsv(268, 91%, 18%) | — | |
| HWB | hwb(268 2% 82%) | color: hwb(268 2% 82%) | |
| OKLCH | oklch(0.1796 0.0814 299.93) | color: oklch(0.1796 0.0814 299.93) | |
| Lab | lab(4.39 19.16 -23.4) | color: lab(4.39 19.16 -23.4) | |
| LCH | lch(4.39 30.24 309.31) | color: lch(4.39 30.24 309.31) |
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)
#0F0F25 — rgb(15, 15, 37)
Deuteranopia (Green-blind)
#111222 — rgb(17, 18, 34)
Tritanopia (Blue-blind)
#171C1B — rgb(23, 28, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 83%, 10%);
text
color: hsl(268, 83%, 10%);
border
border: 2px solid hsl(268, 83%, 10%);
gradient light
background: linear-gradient(to right, hsl(268, 83%, 30%), hsl(268, 83%, 10%));
gradient dark
background: linear-gradient(to right, hsl(268, 83%, 10%), hsl(268, 83%, 0%))
hex
background-color: #18042F;
tailwind
bg-[hsl(268,83%,10%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 83%, 10%, 0.4);
css variable
--color-primary: hsl(268, 83%, 10%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 83%, 10%)?
HEX: #18042F | RGB: rgb(24, 4, 47) | CMYK: 49%, 91%, 0%, 82% | HSV: 268°, 91%, 18%. Copy any format from the conversion table above.
What colors go well with #18042F?
The complementary color is HSL(88, 83%, 10%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 83%, 10%) in CSS?
As HSL: color: hsl(268, 83%, 10%); — As HEX: color: #18042F; — As RGB: color: rgb(24, 4, 47); — Tailwind CSS: bg-[hsl(268,83%,10%)] — CSS variable: --color-primary: hsl(268, 83%, 10%);