HSL(222, 37%, 9%)
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(222,37%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 37%, 9%) | color: hsl(222, 37%, 9%) | |
| HEX | #0E141F | color: #0E141F | |
| RGB | rgb(14, 20, 31) | color: rgb(14, 20, 31) | |
| CMYK | cmyk(55%, 35%, 0%, 88%) | — | |
| HSV | hsv(219, 55%, 12%) | — | |
| HWB | hwb(219 5% 88%) | color: hwb(219 5% 88%) | |
| OKLCH | oklch(0.1909 0.0243 262.19) | color: oklch(0.1909 0.0243 262.19) | |
| Lab | lab(6.26 0.83 -8.42) | color: lab(6.26 0.83 -8.42) | |
| LCH | lch(6.26 8.46 275.63) | color: lch(6.26 8.46 275.63) |
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)
#11111C — rgb(17, 17, 28)
Deuteranopia (Green-blind)
#10101C — rgb(16, 16, 28)
Tritanopia (Blue-blind)
#0E1A1A — rgb(14, 26, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 37%, 9%);
text
color: hsl(222, 37%, 9%);
border
border: 2px solid hsl(222, 37%, 9%);
gradient light
background: linear-gradient(to right, hsl(222, 37%, 29%), hsl(222, 37%, 9%));
gradient dark
background: linear-gradient(to right, hsl(222, 37%, 9%), hsl(222, 37%, 0%))
hex
background-color: #0E141F;
tailwind
bg-[hsl(222,37%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 37%, 9%, 0.4);
css variable
--color-primary: hsl(222, 37%, 9%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 37%, 9%)?
HEX: #0E141F | RGB: rgb(14, 20, 31) | CMYK: 55%, 35%, 0%, 88% | HSV: 219°, 55%, 12%. Copy any format from the conversion table above.
What colors go well with #0E141F?
The complementary color is HSL(42, 37%, 9%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(222, 37%, 9%) in CSS?
As HSL: color: hsl(222, 37%, 9%); — As HEX: color: #0E141F; — As RGB: color: rgb(14, 20, 31); — Tailwind CSS: bg-[hsl(222,37%,9%)] — CSS variable: --color-primary: hsl(222, 37%, 9%);