HSL(202, 90%, 7%)
Very Dark Blue — Blue color
Adjust Color
Color Information
Color Name
Very Dark Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(202,90%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(202, 90%, 7%) | color: hsl(202, 90%, 7%) | |
| HEX | #021622 | color: #021622 | |
| RGB | rgb(2, 22, 34) | color: rgb(2, 22, 34) | |
| CMYK | cmyk(94%, 35%, 0%, 87%) | — | |
| HSV | hsv(203, 94%, 13%) | — | |
| HWB | hwb(203 1% 87%) | color: hwb(203 1% 87%) | |
| OKLCH | oklch(0.1899 0.0369 236.25) | color: oklch(0.1899 0.0369 236.25) | |
| Lab | lab(6.34 -2.74 -10.64) | color: lab(6.34 -2.74 -10.64) | |
| LCH | lch(6.34 10.99 255.56) | color: lch(6.34 10.99 255.56) |
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)
#0B0B1F — rgb(11, 11, 31)
Deuteranopia (Green-blind)
#0A081E — rgb(10, 8, 30)
Tritanopia (Blue-blind)
#031D1C — rgb(3, 29, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(202, 90%, 7%);
text
color: hsl(202, 90%, 7%);
border
border: 2px solid hsl(202, 90%, 7%);
gradient light
background: linear-gradient(to right, hsl(202, 90%, 27%), hsl(202, 90%, 7%));
gradient dark
background: linear-gradient(to right, hsl(202, 90%, 7%), hsl(202, 90%, 0%))
hex
background-color: #021622;
tailwind
bg-[hsl(202,90%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(202, 90%, 7%, 0.4);
css variable
--color-primary: hsl(202, 90%, 7%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(202, 90%, 7%)?
HEX: #021622 | RGB: rgb(2, 22, 34) | CMYK: 94%, 35%, 0%, 87% | HSV: 203°, 94%, 13%. Copy any format from the conversion table above.
What colors go well with #021622?
The complementary color is HSL(22, 90%, 7%). For a triadic harmony, use hues 202°, 322°, and 82°. For analogous combinations, try hues 172° and 232°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(202, 90%, 7%) in CSS?
As HSL: color: hsl(202, 90%, 7%); — As HEX: color: #021622; — As RGB: color: rgb(2, 22, 34); — Tailwind CSS: bg-[hsl(202,90%,7%)] — CSS variable: --color-primary: hsl(202, 90%, 7%);