HSL(195, 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(195,90%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(195, 90%, 7%) | color: hsl(195, 90%, 7%) | |
| HEX | #021A22 | color: #021A22 | |
| RGB | rgb(2, 26, 34) | color: rgb(2, 26, 34) | |
| CMYK | cmyk(94%, 24%, 0%, 87%) | — | |
| HSV | hsv(195, 94%, 13%) | — | |
| HWB | hwb(195 1% 87%) | color: hwb(195 1% 87%) | |
| OKLCH | oklch(0.2029 0.0346 222.5) | color: oklch(0.2029 0.0346 222.5) | |
| Lab | lab(7.83 -5.78 -8.35) | color: lab(7.83 -5.78 -8.35) | |
| LCH | lch(7.83 10.16 235.31) | color: lch(7.83 10.16 235.31) |
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)
#0C0D20 — rgb(12, 13, 32)
Deuteranopia (Green-blind)
#0B0920 — rgb(11, 9, 32)
Tritanopia (Blue-blind)
#031F1E — rgb(3, 31, 30)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(195, 90%, 7%);
text
color: hsl(195, 90%, 7%);
border
border: 2px solid hsl(195, 90%, 7%);
gradient light
background: linear-gradient(to right, hsl(195, 90%, 27%), hsl(195, 90%, 7%));
gradient dark
background: linear-gradient(to right, hsl(195, 90%, 7%), hsl(195, 90%, 0%))
hex
background-color: #021A22;
tailwind
bg-[hsl(195,90%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(195, 90%, 7%, 0.4);
css variable
--color-primary: hsl(195, 90%, 7%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(195, 90%, 7%)?
HEX: #021A22 | RGB: rgb(2, 26, 34) | CMYK: 94%, 24%, 0%, 87% | HSV: 195°, 94%, 13%. Copy any format from the conversion table above.
What colors go well with #021A22?
The complementary color is HSL(15, 90%, 7%). For a triadic harmony, use hues 195°, 315°, and 75°. For analogous combinations, try hues 165° and 225°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(195, 90%, 7%) in CSS?
As HSL: color: hsl(195, 90%, 7%); — As HEX: color: #021A22; — As RGB: color: rgb(2, 26, 34); — Tailwind CSS: bg-[hsl(195,90%,7%)] — CSS variable: --color-primary: hsl(195, 90%, 7%);