HSL(226, 70%, 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(226,70%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 70%, 8%) | color: hsl(226, 70%, 8%) | |
| HEX | #060D23 | color: #060D23 | |
| RGB | rgb(6, 13, 35) | color: rgb(6, 13, 35) | |
| CMYK | cmyk(83%, 63%, 0%, 86%) | — | |
| HSV | hsv(226, 83%, 14%) | — | |
| HWB | hwb(226 2% 86%) | color: hwb(226 2% 86%) | |
| OKLCH | oklch(0.1669 0.0473 266.89) | color: oklch(0.1669 0.0473 266.89) | |
| Lab | lab(4.05 3.96 -14.92) | color: lab(4.05 3.96 -14.92) | |
| LCH | lch(4.05 15.44 284.86) | color: lch(4.05 15.44 284.86) |
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)
#09091E — rgb(9, 9, 30)
Deuteranopia (Green-blind)
#09081C — rgb(9, 8, 28)
Tritanopia (Blue-blind)
#061919 — rgb(6, 25, 25)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 70%, 8%);
text
color: hsl(226, 70%, 8%);
border
border: 2px solid hsl(226, 70%, 8%);
gradient light
background: linear-gradient(to right, hsl(226, 70%, 28%), hsl(226, 70%, 8%));
gradient dark
background: linear-gradient(to right, hsl(226, 70%, 8%), hsl(226, 70%, 0%))
hex
background-color: #060D23;
tailwind
bg-[hsl(226,70%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 70%, 8%, 0.4);
css variable
--color-primary: hsl(226, 70%, 8%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 70%, 8%)?
HEX: #060D23 | RGB: rgb(6, 13, 35) | CMYK: 83%, 63%, 0%, 86% | HSV: 226°, 83%, 14%. Copy any format from the conversion table above.
What colors go well with #060D23?
The complementary color is HSL(46, 70%, 8%). 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, 70%, 8%) in CSS?
As HSL: color: hsl(226, 70%, 8%); — As HEX: color: #060D23; — As RGB: color: rgb(6, 13, 35); — Tailwind CSS: bg-[hsl(226,70%,8%)] — CSS variable: --color-primary: hsl(226, 70%, 8%);