HSL(251, 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(251,40%,6%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 40%, 6%) | color: hsl(251, 40%, 6%) | |
| HEX | #0B0915 | color: #0B0915 | |
| RGB | rgb(11, 9, 21) | color: rgb(11, 9, 21) | |
| CMYK | cmyk(48%, 57%, 0%, 92%) | — | |
| HSV | hsv(250, 57%, 8%) | — | |
| HWB | hwb(250 3% 92%) | color: hwb(250 3% 92%) | |
| OKLCH | oklch(0.1494 0.0256 290.7) | color: oklch(0.1494 0.0256 290.7) | |
| Lab | lab(2.9 2.71 -5.76) | color: lab(2.9 2.71 -5.76) | |
| LCH | lch(2.9 6.37 295.2) | color: lch(2.9 6.37 295.2) |
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)
#0B100F — rgb(11, 16, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 40%, 6%);
text
color: hsl(251, 40%, 6%);
border
border: 2px solid hsl(251, 40%, 6%);
gradient light
background: linear-gradient(to right, hsl(251, 40%, 26%), hsl(251, 40%, 6%));
gradient dark
background: linear-gradient(to right, hsl(251, 40%, 6%), hsl(251, 40%, 0%))
hex
background-color: #0B0915;
tailwind
bg-[hsl(251,40%,6%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 40%, 6%, 0.4);
css variable
--color-primary: hsl(251, 40%, 6%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 40%, 6%)?
HEX: #0B0915 | RGB: rgb(11, 9, 21) | CMYK: 48%, 57%, 0%, 92% | HSV: 250°, 57%, 8%. Copy any format from the conversion table above.
What colors go well with #0B0915?
The complementary color is HSL(71, 40%, 6%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(251, 40%, 6%) in CSS?
As HSL: color: hsl(251, 40%, 6%); — As HEX: color: #0B0915; — As RGB: color: rgb(11, 9, 21); — Tailwind CSS: bg-[hsl(251,40%,6%)] — CSS variable: --color-primary: hsl(251, 40%, 6%);