HSL(222, 29%, 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,29%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 29%, 12%) | color: hsl(222, 29%, 12%) | |
| HEX | #161B27 | color: #161B27 | |
| RGB | rgb(22, 27, 39) | color: rgb(22, 27, 39) | |
| CMYK | cmyk(44%, 31%, 0%, 85%) | — | |
| HSV | hsv(222, 44%, 15%) | — | |
| HWB | hwb(222 8% 85%) | color: hwb(222 8% 85%) | |
| OKLCH | oklch(0.2229 0.0247 266.89) | color: oklch(0.2229 0.0247 266.89) | |
| Lab | lab(9.81 1.49 -8.92) | color: lab(9.81 1.49 -8.92) | |
| LCH | lch(9.81 9.04 279.48) | color: lch(9.81 9.04 279.48) |
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)
#181824 — rgb(24, 24, 36)
Deuteranopia (Green-blind)
#181823 — rgb(24, 24, 35)
Tritanopia (Blue-blind)
#162221 — rgb(22, 34, 33)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 29%, 12%);
text
color: hsl(222, 29%, 12%);
border
border: 2px solid hsl(222, 29%, 12%);
gradient light
background: linear-gradient(to right, hsl(222, 29%, 32%), hsl(222, 29%, 12%));
gradient dark
background: linear-gradient(to right, hsl(222, 29%, 12%), hsl(222, 29%, 0%))
hex
background-color: #161B27;
tailwind
bg-[hsl(222,29%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 29%, 12%, 0.4);
css variable
--color-primary: hsl(222, 29%, 12%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 29%, 12%)?
HEX: #161B27 | RGB: rgb(22, 27, 39) | CMYK: 44%, 31%, 0%, 85% | HSV: 222°, 44%, 15%. Copy any format from the conversion table above.
What colors go well with #161B27?
The complementary color is HSL(42, 29%, 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, 29%, 12%) in CSS?
As HSL: color: hsl(222, 29%, 12%); — As HEX: color: #161B27; — As RGB: color: rgb(22, 27, 39); — Tailwind CSS: bg-[hsl(222,29%,12%)] — CSS variable: --color-primary: hsl(222, 29%, 12%);