HSL(211, 90%, 7%)
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(211,90%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(211, 90%, 7%) | color: hsl(211, 90%, 7%) | |
| HEX | #021122 | color: #021122 | |
| RGB | rgb(2, 17, 34) | color: rgb(2, 17, 34) | |
| CMYK | cmyk(94%, 50%, 0%, 87%) | — | |
| HSV | hsv(212, 94%, 13%) | — | |
| HWB | hwb(212 1% 87%) | color: hwb(212 1% 87%) | |
| OKLCH | oklch(0.1742 0.0425 250.09) | color: oklch(0.1742 0.0425 250.09) | |
| Lab | lab(4.78 0.45 -13.04) | color: lab(4.78 0.45 -13.04) | |
| LCH | lch(4.78 13.05 271.98) | color: lch(4.78 13.05 271.98) |
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)
#08091E — rgb(8, 9, 30)
Deuteranopia (Green-blind)
#08071D — rgb(8, 7, 29)
Tritanopia (Blue-blind)
#031B1A — rgb(3, 27, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(211, 90%, 7%);
text
color: hsl(211, 90%, 7%);
border
border: 2px solid hsl(211, 90%, 7%);
gradient light
background: linear-gradient(to right, hsl(211, 90%, 27%), hsl(211, 90%, 7%));
gradient dark
background: linear-gradient(to right, hsl(211, 90%, 7%), hsl(211, 90%, 0%))
hex
background-color: #021122;
tailwind
bg-[hsl(211,90%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(211, 90%, 7%, 0.4);
css variable
--color-primary: hsl(211, 90%, 7%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(211, 90%, 7%)?
HEX: #021122 | RGB: rgb(2, 17, 34) | CMYK: 94%, 50%, 0%, 87% | HSV: 212°, 94%, 13%. Copy any format from the conversion table above.
What colors go well with #021122?
The complementary color is HSL(31, 90%, 7%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(211, 90%, 7%) in CSS?
As HSL: color: hsl(211, 90%, 7%); — As HEX: color: #021122; — As RGB: color: rgb(2, 17, 34); — Tailwind CSS: bg-[hsl(211,90%,7%)] — CSS variable: --color-primary: hsl(211, 90%, 7%);