HSL(222, 55%, 12%)
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,55%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 55%, 12%) | color: hsl(222, 55%, 12%) | |
| HEX | #0E182F | color: #0E182F | |
| RGB | rgb(14, 24, 47) | color: rgb(14, 24, 47) | |
| CMYK | cmyk(70%, 49%, 0%, 82%) | — | |
| HSV | hsv(222, 70%, 18%) | — | |
| HWB | hwb(222 5% 82%) | color: hwb(222 5% 82%) | |
| OKLCH | oklch(0.2134 0.0478 264.91) | color: oklch(0.2134 0.0478 264.91) | |
| Lab | lab(8.58 4.35 -16.78) | color: lab(8.58 4.35 -16.78) | |
| LCH | lch(8.58 17.33 284.53) | color: lch(8.58 17.33 284.53) |
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)
#121229 — rgb(18, 18, 41)
Deuteranopia (Green-blind)
#121128 — rgb(18, 17, 40)
Tritanopia (Blue-blind)
#0F2524 — rgb(15, 37, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 55%, 12%);
text
color: hsl(222, 55%, 12%);
border
border: 2px solid hsl(222, 55%, 12%);
gradient light
background: linear-gradient(to right, hsl(222, 55%, 32%), hsl(222, 55%, 12%));
gradient dark
background: linear-gradient(to right, hsl(222, 55%, 12%), hsl(222, 55%, 0%))
hex
background-color: #0E182F;
tailwind
bg-[hsl(222,55%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 55%, 12%, 0.4);
css variable
--color-primary: hsl(222, 55%, 12%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 55%, 12%)?
HEX: #0E182F | RGB: rgb(14, 24, 47) | CMYK: 70%, 49%, 0%, 82% | HSV: 222°, 70%, 18%. Copy any format from the conversion table above.
What colors go well with #0E182F?
The complementary color is HSL(42, 55%, 12%). 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, 55%, 12%) in CSS?
As HSL: color: hsl(222, 55%, 12%); — As HEX: color: #0E182F; — As RGB: color: rgb(14, 24, 47); — Tailwind CSS: bg-[hsl(222,55%,12%)] — CSS variable: --color-primary: hsl(222, 55%, 12%);