HSL(251, 48%, 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(251,48%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 48%, 8%) | color: hsl(251, 48%, 8%) | |
| HEX | #0E0B1E | color: #0E0B1E | |
| RGB | rgb(14, 11, 30) | color: rgb(14, 11, 30) | |
| CMYK | cmyk(53%, 63%, 0%, 88%) | — | |
| HSV | hsv(249, 63%, 12%) | — | |
| HWB | hwb(249 4% 88%) | color: hwb(249 4% 88%) | |
| OKLCH | oklch(0.1653 0.039 288.64) | color: oklch(0.1653 0.039 288.64) | |
| Lab | lab(3.85 5.31 -11.27) | color: lab(3.85 5.31 -11.27) | |
| LCH | lch(3.85 12.46 295.23) | color: lch(3.85 12.46 295.23) |
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)
#0D0D19 — rgb(13, 13, 25)
Deuteranopia (Green-blind)
#0D0D18 — rgb(13, 13, 24)
Tritanopia (Blue-blind)
#0E1615 — rgb(14, 22, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 48%, 8%);
text
color: hsl(251, 48%, 8%);
border
border: 2px solid hsl(251, 48%, 8%);
gradient light
background: linear-gradient(to right, hsl(251, 48%, 28%), hsl(251, 48%, 8%));
gradient dark
background: linear-gradient(to right, hsl(251, 48%, 8%), hsl(251, 48%, 0%))
hex
background-color: #0E0B1E;
tailwind
bg-[hsl(251,48%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 48%, 8%, 0.4);
css variable
--color-primary: hsl(251, 48%, 8%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 48%, 8%)?
HEX: #0E0B1E | RGB: rgb(14, 11, 30) | CMYK: 53%, 63%, 0%, 88% | HSV: 249°, 63%, 12%. Copy any format from the conversion table above.
What colors go well with #0E0B1E?
The complementary color is HSL(71, 48%, 8%). 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, 48%, 8%) in CSS?
As HSL: color: hsl(251, 48%, 8%); — As HEX: color: #0E0B1E; — As RGB: color: rgb(14, 11, 30); — Tailwind CSS: bg-[hsl(251,48%,8%)] — CSS variable: --color-primary: hsl(251, 48%, 8%);