HSL(282, 54%, 9%)
Very Dark Indigo — Indigo color
Adjust Color
Color Information
Color Name
Very Dark Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,54%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 54%, 9%) | color: hsl(282, 54%, 9%) | |
| HEX | #1C0B23 | color: #1C0B23 | |
| RGB | rgb(28, 11, 35) | color: rgb(28, 11, 35) | |
| CMYK | cmyk(20%, 69%, 0%, 86%) | — | |
| HSV | hsv(283, 69%, 14%) | — | |
| HWB | hwb(283 4% 86%) | color: hwb(283 4% 86%) | |
| OKLCH | oklch(0.1886 0.0518 315.19) | color: oklch(0.1886 0.0518 315.19) | |
| Lab | lab(5.49 13.23 -12.54) | color: lab(5.49 13.23 -12.54) | |
| LCH | lch(5.49 18.23 316.53) | color: lch(5.49 18.23 316.53) |
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)
#15141D — rgb(21, 20, 29)
Deuteranopia (Green-blind)
#16171C — rgb(22, 23, 28)
Tritanopia (Blue-blind)
#1B1918 — rgb(27, 25, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 54%, 9%);
text
color: hsl(282, 54%, 9%);
border
border: 2px solid hsl(282, 54%, 9%);
gradient light
background: linear-gradient(to right, hsl(282, 54%, 29%), hsl(282, 54%, 9%));
gradient dark
background: linear-gradient(to right, hsl(282, 54%, 9%), hsl(282, 54%, 0%))
hex
background-color: #1C0B23;
tailwind
bg-[hsl(282,54%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 54%, 9%, 0.4);
css variable
--color-primary: hsl(282, 54%, 9%);
Related Colors
Use Cases for Very Dark Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 54%, 9%)?
HEX: #1C0B23 | RGB: rgb(28, 11, 35) | CMYK: 20%, 69%, 0%, 86% | HSV: 283°, 69%, 14%. Copy any format from the conversion table above.
What colors go well with #1C0B23?
The complementary color is HSL(102, 54%, 9%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 54%, 9%) in CSS?
As HSL: color: hsl(282, 54%, 9%); — As HEX: color: #1C0B23; — As RGB: color: rgb(28, 11, 35); — Tailwind CSS: bg-[hsl(282,54%,9%)] — CSS variable: --color-primary: hsl(282, 54%, 9%);