HSL(231, 95%, 14%)
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(231,95%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 95%, 14%) | color: hsl(231, 95%, 14%) | |
| HEX | #020C46 | color: #020C46 | |
| RGB | rgb(2, 12, 70) | color: rgb(2, 12, 70) | |
| CMYK | cmyk(97%, 83%, 0%, 73%) | — | |
| HSV | hsv(231, 97%, 27%) | — | |
| HWB | hwb(231 1% 73%) | color: hwb(231 1% 73%) | |
| OKLCH | oklch(0.2018 0.1076 265.24) | color: oklch(0.2018 0.1076 265.24) | |
| Lab | lab(6.48 21.47 -36.77) | color: lab(6.48 21.47 -36.77) | |
| LCH | lch(6.48 42.58 300.28) | color: lch(6.48 42.58 300.28) |
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)
#060638 — rgb(6, 6, 56)
Deuteranopia (Green-blind)
#060535 — rgb(6, 5, 53)
Tritanopia (Blue-blind)
#032D2A — rgb(3, 45, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 95%, 14%);
text
color: hsl(231, 95%, 14%);
border
border: 2px solid hsl(231, 95%, 14%);
gradient light
background: linear-gradient(to right, hsl(231, 95%, 34%), hsl(231, 95%, 14%));
gradient dark
background: linear-gradient(to right, hsl(231, 95%, 14%), hsl(231, 95%, 0%))
hex
background-color: #020C46;
tailwind
bg-[hsl(231,95%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 95%, 14%, 0.4);
css variable
--color-primary: hsl(231, 95%, 14%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 95%, 14%)?
HEX: #020C46 | RGB: rgb(2, 12, 70) | CMYK: 97%, 83%, 0%, 73% | HSV: 231°, 97%, 27%. Copy any format from the conversion table above.
What colors go well with #020C46?
The complementary color is HSL(51, 95%, 14%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 95%, 14%) in CSS?
As HSL: color: hsl(231, 95%, 14%); — As HEX: color: #020C46; — As RGB: color: rgb(2, 12, 70); — Tailwind CSS: bg-[hsl(231,95%,14%)] — CSS variable: --color-primary: hsl(231, 95%, 14%);