HSL(246, 40%, 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(246,40%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 40%, 6%) | color: hsl(246, 40%, 6%) | |
| HEX | #0A0915 | color: #0A0915 | |
| RGB | rgb(10, 9, 21) | color: rgb(10, 9, 21) | |
| CMYK | cmyk(52%, 57%, 0%, 92%) | — | |
| HSV | hsv(245, 57%, 8%) | — | |
| HWB | hwb(245 3% 92%) | color: hwb(245 3% 92%) | |
| OKLCH | oklch(0.1482 0.0257 286.75) | color: oklch(0.1482 0.0257 286.75) | |
| Lab | lab(2.84 2.45 -5.85) | color: lab(2.84 2.45 -5.85) | |
| LCH | lch(2.84 6.34 292.72) | color: lch(2.84 6.34 292.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)
#0A0A12 — rgb(10, 10, 18)
Deuteranopia (Green-blind)
#0A0A11 — rgb(10, 10, 17)
Tritanopia (Blue-blind)
#0A100F — rgb(10, 16, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 40%, 6%);
text
color: hsl(246, 40%, 6%);
border
border: 2px solid hsl(246, 40%, 6%);
gradient light
background: linear-gradient(to right, hsl(246, 40%, 26%), hsl(246, 40%, 6%));
gradient dark
background: linear-gradient(to right, hsl(246, 40%, 6%), hsl(246, 40%, 0%))
hex
background-color: #0A0915;
tailwind
bg-[hsl(246,40%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 40%, 6%, 0.4);
css variable
--color-primary: hsl(246, 40%, 6%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 40%, 6%)?
HEX: #0A0915 | RGB: rgb(10, 9, 21) | CMYK: 52%, 57%, 0%, 92% | HSV: 245°, 57%, 8%. Copy any format from the conversion table above.
What colors go well with #0A0915?
The complementary color is HSL(66, 40%, 6%). For a triadic harmony, use hues 246°, 6°, and 126°. For analogous combinations, try hues 216° and 276°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(246, 40%, 6%) in CSS?
As HSL: color: hsl(246, 40%, 6%); — As HEX: color: #0A0915; — As RGB: color: rgb(10, 9, 21); — Tailwind CSS: bg-[hsl(246,40%,6%)] — CSS variable: --color-primary: hsl(246, 40%, 6%);