HSL(231, 62%, 8%)
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,62%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 62%, 8%) | color: hsl(231, 62%, 8%) | |
| HEX | #080C21 | color: #080C21 | |
| RGB | rgb(8, 12, 33) | color: rgb(8, 12, 33) | |
| CMYK | cmyk(76%, 64%, 0%, 87%) | — | |
| HSV | hsv(230, 76%, 13%) | — | |
| HWB | hwb(230 3% 87%) | color: hwb(230 3% 87%) | |
| OKLCH | oklch(0.1643 0.0443 272.29) | color: oklch(0.1643 0.0443 272.29) | |
| Lab | lab(3.83 4.21 -13.68) | color: lab(3.83 4.21 -13.68) | |
| LCH | lch(3.83 14.31 287.11) | color: lch(3.83 14.31 287.11) |
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)
#0A0A1C — rgb(10, 10, 28)
Deuteranopia (Green-blind)
#0A091B — rgb(10, 9, 27)
Tritanopia (Blue-blind)
#081817 — rgb(8, 24, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 62%, 8%);
text
color: hsl(231, 62%, 8%);
border
border: 2px solid hsl(231, 62%, 8%);
gradient light
background: linear-gradient(to right, hsl(231, 62%, 28%), hsl(231, 62%, 8%));
gradient dark
background: linear-gradient(to right, hsl(231, 62%, 8%), hsl(231, 62%, 0%))
hex
background-color: #080C21;
tailwind
bg-[hsl(231,62%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 62%, 8%, 0.4);
css variable
--color-primary: hsl(231, 62%, 8%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 62%, 8%)?
HEX: #080C21 | RGB: rgb(8, 12, 33) | CMYK: 76%, 64%, 0%, 87% | HSV: 230°, 76%, 13%. Copy any format from the conversion table above.
What colors go well with #080C21?
The complementary color is HSL(51, 62%, 8%). 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, 62%, 8%) in CSS?
As HSL: color: hsl(231, 62%, 8%); — As HEX: color: #080C21; — As RGB: color: rgb(8, 12, 33); — Tailwind CSS: bg-[hsl(231,62%,8%)] — CSS variable: --color-primary: hsl(231, 62%, 8%);