HSL(251, 60%, 3%)
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,60%,3%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 60%, 3%) | color: hsl(251, 60%, 3%) | |
| HEX | #05030C | color: #05030C | |
| RGB | rgb(5, 3, 12) | color: rgb(5, 3, 12) | |
| CMYK | cmyk(58%, 75%, 0%, 95%) | — | |
| HSV | hsv(253, 75%, 5%) | — | |
| HWB | hwb(253 1% 95%) | color: hwb(253 1% 95%) | |
| OKLCH | oklch(0.1098 0.0262 295.63) | color: oklch(0.1098 0.0262 295.63) | |
| Lab | lab(1.12 1.79 -3.26) | color: lab(1.12 1.79 -3.26) | |
| LCH | lch(1.12 3.72 298.77) | color: lch(1.12 3.72 298.77) |
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)
#04040A — rgb(4, 4, 10)
Deuteranopia (Green-blind)
#040409 — rgb(4, 4, 9)
Tritanopia (Blue-blind)
#050808 — rgb(5, 8, 8)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 60%, 3%);
text
color: hsl(251, 60%, 3%);
border
border: 2px solid hsl(251, 60%, 3%);
gradient light
background: linear-gradient(to right, hsl(251, 60%, 23%), hsl(251, 60%, 3%));
gradient dark
background: linear-gradient(to right, hsl(251, 60%, 3%), hsl(251, 60%, 0%))
hex
background-color: #05030C;
tailwind
bg-[hsl(251,60%,3%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 60%, 3%, 0.4);
css variable
--color-primary: hsl(251, 60%, 3%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 60%, 3%)?
HEX: #05030C | RGB: rgb(5, 3, 12) | CMYK: 58%, 75%, 0%, 95% | HSV: 253°, 75%, 5%. Copy any format from the conversion table above.
What colors go well with #05030C?
The complementary color is HSL(71, 60%, 3%). 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, 60%, 3%) in CSS?
As HSL: color: hsl(251, 60%, 3%); — As HEX: color: #05030C; — As RGB: color: rgb(5, 3, 12); — Tailwind CSS: bg-[hsl(251,60%,3%)] — CSS variable: --color-primary: hsl(251, 60%, 3%);