HSL(231, 57%, 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,57%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 57%, 7%) | color: hsl(231, 57%, 7%) | |
| HEX | #080B1C | color: #080B1C | |
| RGB | rgb(8, 11, 28) | color: rgb(8, 11, 28) | |
| CMYK | cmyk(71%, 61%, 0%, 89%) | — | |
| HSV | hsv(231, 71%, 11%) | — | |
| HWB | hwb(231 3% 89%) | color: hwb(231 3% 89%) | |
| OKLCH | oklch(0.1572 0.0364 273.64) | color: oklch(0.1572 0.0364 273.64) | |
| Lab | lab(3.39 3 -10.43) | color: lab(3.39 3 -10.43) | |
| LCH | lch(3.39 10.85 286.05) | color: lch(3.39 10.85 286.05) |
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)
#090918 — rgb(9, 9, 24)
Deuteranopia (Green-blind)
#090917 — rgb(9, 9, 23)
Tritanopia (Blue-blind)
#081514 — rgb(8, 21, 20)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 57%, 7%);
text
color: hsl(231, 57%, 7%);
border
border: 2px solid hsl(231, 57%, 7%);
gradient light
background: linear-gradient(to right, hsl(231, 57%, 27%), hsl(231, 57%, 7%));
gradient dark
background: linear-gradient(to right, hsl(231, 57%, 7%), hsl(231, 57%, 0%))
hex
background-color: #080B1C;
tailwind
bg-[hsl(231,57%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 57%, 7%, 0.4);
css variable
--color-primary: hsl(231, 57%, 7%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 57%, 7%)?
HEX: #080B1C | RGB: rgb(8, 11, 28) | CMYK: 71%, 61%, 0%, 89% | HSV: 231°, 71%, 11%. Copy any format from the conversion table above.
What colors go well with #080B1C?
The complementary color is HSL(51, 57%, 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, 57%, 7%) in CSS?
As HSL: color: hsl(231, 57%, 7%); — As HEX: color: #080B1C; — As RGB: color: rgb(8, 11, 28); — Tailwind CSS: bg-[hsl(231,57%,7%)] — CSS variable: --color-primary: hsl(231, 57%, 7%);