HSL(226, 40%, 5%)
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(226,40%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 40%, 5%) | color: hsl(226, 40%, 5%) | |
| HEX | #080A12 | color: #080A12 | |
| RGB | rgb(8, 10, 18) | color: rgb(8, 10, 18) | |
| CMYK | cmyk(56%, 44%, 0%, 93%) | — | |
| HSV | hsv(228, 56%, 7%) | — | |
| HWB | hwb(228 3% 93%) | color: hwb(228 3% 93%) | |
| OKLCH | oklch(0.1468 0.0178 272.54) | color: oklch(0.1468 0.0178 272.54) | |
| Lab | lab(2.82 0.86 -3.94) | color: lab(2.82 0.86 -3.94) | |
| LCH | lch(2.82 4.03 282.31) | color: lch(2.82 4.03 282.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)
#090910 — rgb(9, 9, 16)
Deuteranopia (Green-blind)
#090910 — rgb(9, 9, 16)
Tritanopia (Blue-blind)
#080F0E — rgb(8, 15, 14)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 40%, 5%);
text
color: hsl(226, 40%, 5%);
border
border: 2px solid hsl(226, 40%, 5%);
gradient light
background: linear-gradient(to right, hsl(226, 40%, 25%), hsl(226, 40%, 5%));
gradient dark
background: linear-gradient(to right, hsl(226, 40%, 5%), hsl(226, 40%, 0%))
hex
background-color: #080A12;
tailwind
bg-[hsl(226,40%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 40%, 5%, 0.4);
css variable
--color-primary: hsl(226, 40%, 5%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 40%, 5%)?
HEX: #080A12 | RGB: rgb(8, 10, 18) | CMYK: 56%, 44%, 0%, 93% | HSV: 228°, 56%, 7%. Copy any format from the conversion table above.
What colors go well with #080A12?
The complementary color is HSL(46, 40%, 5%). For a triadic harmony, use hues 226°, 346°, and 106°. For analogous combinations, try hues 196° and 256°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(226, 40%, 5%) in CSS?
As HSL: color: hsl(226, 40%, 5%); — As HEX: color: #080A12; — As RGB: color: rgb(8, 10, 18); — Tailwind CSS: bg-[hsl(226,40%,5%)] — CSS variable: --color-primary: hsl(226, 40%, 5%);