HSL(226, 20%, 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,20%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 20%, 5%) | color: hsl(226, 20%, 5%) | |
| HEX | #0A0B0F | color: #0A0B0F | |
| RGB | rgb(10, 11, 15) | color: rgb(10, 11, 15) | |
| CMYK | cmyk(33%, 27%, 0%, 94%) | — | |
| HSV | hsv(228, 33%, 6%) | — | |
| HWB | hwb(228 4% 94%) | color: hwb(228 4% 94%) | |
| OKLCH | oklch(0.1504 0.0088 274.27) | color: oklch(0.1504 0.0088 274.27) | |
| Lab | lab(3.06 0.39 -1.88) | color: lab(3.06 0.39 -1.88) | |
| LCH | lch(3.06 1.92 281.72) | color: lch(3.06 1.92 281.72) |
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)
#0A0A0E — rgb(10, 10, 14)
Deuteranopia (Green-blind)
#0A0A0E — rgb(10, 10, 14)
Tritanopia (Blue-blind)
#0A0D0D — rgb(10, 13, 13)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 20%, 5%);
text
color: hsl(226, 20%, 5%);
border
border: 2px solid hsl(226, 20%, 5%);
gradient light
background: linear-gradient(to right, hsl(226, 20%, 25%), hsl(226, 20%, 5%));
gradient dark
background: linear-gradient(to right, hsl(226, 20%, 5%), hsl(226, 20%, 0%))
hex
background-color: #0A0B0F;
tailwind
bg-[hsl(226,20%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 20%, 5%, 0.4);
css variable
--color-primary: hsl(226, 20%, 5%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 20%, 5%)?
HEX: #0A0B0F | RGB: rgb(10, 11, 15) | CMYK: 33%, 27%, 0%, 94% | HSV: 228°, 33%, 6%. Copy any format from the conversion table above.
What colors go well with #0A0B0F?
The complementary color is HSL(46, 20%, 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, 20%, 5%) in CSS?
As HSL: color: hsl(226, 20%, 5%); — As HEX: color: #0A0B0F; — As RGB: color: rgb(10, 11, 15); — Tailwind CSS: bg-[hsl(226,20%,5%)] — CSS variable: --color-primary: hsl(226, 20%, 5%);