HSL(251, 94%, 13%)
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,94%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(251, 94%, 13%) | color: hsl(251, 94%, 13%) | |
| HEX | #0D0240 | color: #0D0240 | |
| RGB | rgb(13, 2, 64) | color: rgb(13, 2, 64) | |
| CMYK | cmyk(80%, 97%, 0%, 75%) | — | |
| HSV | hsv(251, 97%, 25%) | — | |
| HWB | hwb(251 1% 75%) | color: hwb(251 1% 75%) | |
| OKLCH | oklch(0.1839 0.1075 277.64) | color: oklch(0.1839 0.1075 277.64) | |
| Lab | lab(4.51 25.14 -35.72) | color: lab(4.51 25.14 -35.72) | |
| LCH | lch(4.51 43.68 305.14) | color: lch(4.51 43.68 305.14) |
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)
#080831 — rgb(8, 8, 49)
Deuteranopia (Green-blind)
#090A2D — rgb(9, 10, 45)
Tritanopia (Blue-blind)
#0C2523 — rgb(12, 37, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(251, 94%, 13%);
text
color: hsl(251, 94%, 13%);
border
border: 2px solid hsl(251, 94%, 13%);
gradient light
background: linear-gradient(to right, hsl(251, 94%, 33%), hsl(251, 94%, 13%));
gradient dark
background: linear-gradient(to right, hsl(251, 94%, 13%), hsl(251, 94%, 0%))
hex
background-color: #0D0240;
tailwind
bg-[hsl(251,94%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(251, 94%, 13%, 0.4);
css variable
--color-primary: hsl(251, 94%, 13%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(251, 94%, 13%)?
HEX: #0D0240 | RGB: rgb(13, 2, 64) | CMYK: 80%, 97%, 0%, 75% | HSV: 251°, 97%, 25%. Copy any format from the conversion table above.
What colors go well with #0D0240?
The complementary color is HSL(71, 94%, 13%). 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, 94%, 13%) in CSS?
As HSL: color: hsl(251, 94%, 13%); — As HEX: color: #0D0240; — As RGB: color: rgb(13, 2, 64); — Tailwind CSS: bg-[hsl(251,94%,13%)] — CSS variable: --color-primary: hsl(251, 94%, 13%);