HSL(252, 60%, 6%)
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(252,60%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 60%, 6%) | color: hsl(252, 60%, 6%) | |
| HEX | #0A0618 | color: #0A0618 | |
| RGB | rgb(10, 6, 24) | color: rgb(10, 6, 24) | |
| CMYK | cmyk(58%, 75%, 0%, 91%) | — | |
| HSV | hsv(253, 75%, 9%) | — | |
| HWB | hwb(253 2% 91%) | color: hwb(253 2% 91%) | |
| OKLCH | oklch(0.1412 0.0393 292.01) | color: oklch(0.1412 0.0393 292.01) | |
| Lab | lab(2.36 4.4 -8.75) | color: lab(2.36 4.4 -8.75) | |
| LCH | lch(2.36 9.79 296.7) | color: lch(2.36 9.79 296.7) |
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)
#080814 — rgb(8, 8, 20)
Deuteranopia (Green-blind)
#090913 — rgb(9, 9, 19)
Tritanopia (Blue-blind)
#0A100F — rgb(10, 16, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 60%, 6%);
text
color: hsl(252, 60%, 6%);
border
border: 2px solid hsl(252, 60%, 6%);
gradient light
background: linear-gradient(to right, hsl(252, 60%, 26%), hsl(252, 60%, 6%));
gradient dark
background: linear-gradient(to right, hsl(252, 60%, 6%), hsl(252, 60%, 0%))
hex
background-color: #0A0618;
tailwind
bg-[hsl(252,60%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 60%, 6%, 0.4);
css variable
--color-primary: hsl(252, 60%, 6%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 60%, 6%)?
HEX: #0A0618 | RGB: rgb(10, 6, 24) | CMYK: 58%, 75%, 0%, 91% | HSV: 253°, 75%, 9%. Copy any format from the conversion table above.
What colors go well with #0A0618?
The complementary color is HSL(72, 60%, 6%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(252, 60%, 6%) in CSS?
As HSL: color: hsl(252, 60%, 6%); — As HEX: color: #0A0618; — As RGB: color: rgb(10, 6, 24); — Tailwind CSS: bg-[hsl(252,60%,6%)] — CSS variable: --color-primary: hsl(252, 60%, 6%);