HSL(231, 82%, 7%)
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,82%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 82%, 7%) | color: hsl(231, 82%, 7%) | |
| HEX | #030820 | color: #030820 | |
| RGB | rgb(3, 8, 32) | color: rgb(3, 8, 32) | |
| CMYK | cmyk(91%, 75%, 0%, 87%) | — | |
| HSV | hsv(230, 91%, 13%) | — | |
| HWB | hwb(230 1% 87%) | color: hwb(230 1% 87%) | |
| OKLCH | oklch(0.1467 0.0524 266.87) | color: oklch(0.1467 0.0524 266.87) | |
| Lab | lab(2.69 4.2 -14.68) | color: lab(2.69 4.2 -14.68) | |
| LCH | lch(2.69 15.27 285.97) | color: lch(2.69 15.27 285.97) |
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)
#05051A — rgb(5, 5, 26)
Deuteranopia (Green-blind)
#050519 — rgb(5, 5, 25)
Tritanopia (Blue-blind)
#031615 — rgb(3, 22, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 82%, 7%);
text
color: hsl(231, 82%, 7%);
border
border: 2px solid hsl(231, 82%, 7%);
gradient light
background: linear-gradient(to right, hsl(231, 82%, 27%), hsl(231, 82%, 7%));
gradient dark
background: linear-gradient(to right, hsl(231, 82%, 7%), hsl(231, 82%, 0%))
hex
background-color: #030820;
tailwind
bg-[hsl(231,82%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 82%, 7%, 0.4);
css variable
--color-primary: hsl(231, 82%, 7%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 82%, 7%)?
HEX: #030820 | RGB: rgb(3, 8, 32) | CMYK: 91%, 75%, 0%, 87% | HSV: 230°, 91%, 13%. Copy any format from the conversion table above.
What colors go well with #030820?
The complementary color is HSL(51, 82%, 7%). 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, 82%, 7%) in CSS?
As HSL: color: hsl(231, 82%, 7%); — As HEX: color: #030820; — As RGB: color: rgb(3, 8, 32); — Tailwind CSS: bg-[hsl(231,82%,7%)] — CSS variable: --color-primary: hsl(231, 82%, 7%);