HSL(231, 78%, 2%)
Very Dark Blue — Blue color
Adjust Color
Color Information
Color Name
Very Dark Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,78%,2%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 78%, 2%) | color: hsl(231, 78%, 2%) | |
| HEX | #010209 | color: #010209 | |
| RGB | rgb(1, 2, 9) | color: rgb(1, 2, 9) | |
| CMYK | cmyk(89%, 78%, 0%, 96%) | — | |
| HSV | hsv(233, 89%, 4%) | — | |
| HWB | hwb(233 0% 96%) | color: hwb(233 0% 96%) | |
| OKLCH | oklch(0.0899 0.0265 268.54) | color: oklch(0.0899 0.0265 268.54) | |
| Lab | lab(0.63 0.71 -2.74) | color: lab(0.63 0.71 -2.74) | |
| LCH | lch(0.63 2.83 284.53) | color: lch(0.63 2.83 284.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)
#010107 — rgb(1, 1, 7)
Deuteranopia (Green-blind)
#010107 — rgb(1, 1, 7)
Tritanopia (Blue-blind)
#010606 — rgb(1, 6, 6)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 78%, 2%);
text
color: hsl(231, 78%, 2%);
border
border: 2px solid hsl(231, 78%, 2%);
gradient light
background: linear-gradient(to right, hsl(231, 78%, 22%), hsl(231, 78%, 2%));
gradient dark
background: linear-gradient(to right, hsl(231, 78%, 2%), hsl(231, 78%, 0%))
hex
background-color: #010209;
tailwind
bg-[hsl(231,78%,2%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 78%, 2%, 0.4);
css variable
--color-primary: hsl(231, 78%, 2%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 78%, 2%)?
HEX: #010209 | RGB: rgb(1, 2, 9) | CMYK: 89%, 78%, 0%, 96% | HSV: 233°, 89%, 4%. Copy any format from the conversion table above.
What colors go well with #010209?
The complementary color is HSL(51, 78%, 2%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 78%, 2%) in CSS?
As HSL: color: hsl(231, 78%, 2%); — As HEX: color: #010209; — As RGB: color: rgb(1, 2, 9); — Tailwind CSS: bg-[hsl(231,78%,2%)] — CSS variable: --color-primary: hsl(231, 78%, 2%);