HSL(222, 75%, 8%)
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,75%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 75%, 8%) | color: hsl(222, 75%, 8%) | |
| HEX | #050E24 | color: #050E24 | |
| RGB | rgb(5, 14, 36) | color: rgb(5, 14, 36) | |
| CMYK | cmyk(86%, 61%, 0%, 86%) | — | |
| HSV | hsv(223, 86%, 14%) | — | |
| HWB | hwb(223 2% 86%) | color: hwb(223 2% 86%) | |
| OKLCH | oklch(0.1697 0.0482 263.65) | color: oklch(0.1697 0.0482 263.65) | |
| Lab | lab(4.28 3.59 -15.33) | color: lab(4.28 3.59 -15.33) | |
| LCH | lch(4.28 15.74 283.18) | color: lch(4.28 15.74 283.18) |
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)
#09091F — rgb(9, 9, 31)
Deuteranopia (Green-blind)
#08081D — rgb(8, 8, 29)
Tritanopia (Blue-blind)
#051A1A — rgb(5, 26, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 75%, 8%);
text
color: hsl(222, 75%, 8%);
border
border: 2px solid hsl(222, 75%, 8%);
gradient light
background: linear-gradient(to right, hsl(222, 75%, 28%), hsl(222, 75%, 8%));
gradient dark
background: linear-gradient(to right, hsl(222, 75%, 8%), hsl(222, 75%, 0%))
hex
background-color: #050E24;
tailwind
bg-[hsl(222,75%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 75%, 8%, 0.4);
css variable
--color-primary: hsl(222, 75%, 8%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 75%, 8%)?
HEX: #050E24 | RGB: rgb(5, 14, 36) | CMYK: 86%, 61%, 0%, 86% | HSV: 223°, 86%, 14%. Copy any format from the conversion table above.
What colors go well with #050E24?
The complementary color is HSL(42, 75%, 8%). 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, 75%, 8%) in CSS?
As HSL: color: hsl(222, 75%, 8%); — As HEX: color: #050E24; — As RGB: color: rgb(5, 14, 36); — Tailwind CSS: bg-[hsl(222,75%,8%)] — CSS variable: --color-primary: hsl(222, 75%, 8%);