HSL(246, 93%, 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(246,93%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(246, 93%, 13%) | color: hsl(246, 93%, 13%) | |
| HEX | #080240 | color: #080240 | |
| RGB | rgb(8, 2, 64) | color: rgb(8, 2, 64) | |
| CMYK | cmyk(88%, 97%, 0%, 75%) | — | |
| HSV | hsv(246, 97%, 25%) | — | |
| HWB | hwb(246 1% 75%) | color: hwb(246 1% 75%) | |
| OKLCH | oklch(0.1796 0.109 272.85) | color: oklch(0.1796 0.109 272.85) | |
| Lab | lab(4.2 24.18 -36.23) | color: lab(4.2 24.18 -36.23) | |
| LCH | lch(4.2 43.56 303.72) | color: lch(4.2 43.56 303.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)
#050531 — rgb(5, 5, 49)
Deuteranopia (Green-blind)
#06062D — rgb(6, 6, 45)
Tritanopia (Blue-blind)
#082523 — rgb(8, 37, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(246, 93%, 13%);
text
color: hsl(246, 93%, 13%);
border
border: 2px solid hsl(246, 93%, 13%);
gradient light
background: linear-gradient(to right, hsl(246, 93%, 33%), hsl(246, 93%, 13%));
gradient dark
background: linear-gradient(to right, hsl(246, 93%, 13%), hsl(246, 93%, 0%))
hex
background-color: #080240;
tailwind
bg-[hsl(246,93%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(246, 93%, 13%, 0.4);
css variable
--color-primary: hsl(246, 93%, 13%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(246, 93%, 13%)?
HEX: #080240 | RGB: rgb(8, 2, 64) | CMYK: 88%, 97%, 0%, 75% | HSV: 246°, 97%, 25%. Copy any format from the conversion table above.
What colors go well with #080240?
The complementary color is HSL(66, 93%, 13%). 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, 93%, 13%) in CSS?
As HSL: color: hsl(246, 93%, 13%); — As HEX: color: #080240; — As RGB: color: rgb(8, 2, 64); — Tailwind CSS: bg-[hsl(246,93%,13%)] — CSS variable: --color-primary: hsl(246, 93%, 13%);