HSL(227, 91%, 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(227,91%,2%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 91%, 2%) | color: hsl(227, 91%, 2%) | |
| HEX | #00020A | color: #00020A | |
| RGB | rgb(0, 2, 10) | color: rgb(0, 2, 10) | |
| CMYK | cmyk(100%, 80%, 0%, 96%) | — | |
| HSV | hsv(228, 100%, 4%) | — | |
| HWB | hwb(228 0% 96%) | color: hwb(228 0% 96%) | |
| OKLCH | oklch(0.0877 0.0313 257.1) | color: oklch(0.0877 0.0313 257.1) | |
| Lab | lab(0.59 0.59 -3.21) | color: lab(0.59 0.59 -3.21) | |
| LCH | lch(0.59 3.26 280.41) | color: lch(0.59 3.26 280.41) |
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)
#010108 — rgb(1, 1, 8)
Deuteranopia (Green-blind)
#010108 — rgb(1, 1, 8)
Tritanopia (Blue-blind)
#000706 — rgb(0, 7, 6)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 91%, 2%);
text
color: hsl(227, 91%, 2%);
border
border: 2px solid hsl(227, 91%, 2%);
gradient light
background: linear-gradient(to right, hsl(227, 91%, 22%), hsl(227, 91%, 2%));
gradient dark
background: linear-gradient(to right, hsl(227, 91%, 2%), hsl(227, 91%, 0%))
hex
background-color: #00020A;
tailwind
bg-[hsl(227,91%,2%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 91%, 2%, 0.4);
css variable
--color-primary: hsl(227, 91%, 2%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 91%, 2%)?
HEX: #00020A | RGB: rgb(0, 2, 10) | CMYK: 100%, 80%, 0%, 96% | HSV: 228°, 100%, 4%. Copy any format from the conversion table above.
What colors go well with #00020A?
The complementary color is HSL(47, 91%, 2%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 91%, 2%) in CSS?
As HSL: color: hsl(227, 91%, 2%); — As HEX: color: #00020A; — As RGB: color: rgb(0, 2, 10); — Tailwind CSS: bg-[hsl(227,91%,2%)] — CSS variable: --color-primary: hsl(227, 91%, 2%);