HSL(231, 74%, 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,74%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 74%, 8%) | color: hsl(231, 74%, 8%) | |
| HEX | #050A23 | color: #050A23 | |
| RGB | rgb(5, 10, 35) | color: rgb(5, 10, 35) | |
| CMYK | cmyk(86%, 71%, 0%, 86%) | — | |
| HSV | hsv(230, 86%, 14%) | — | |
| HWB | hwb(230 2% 86%) | color: hwb(230 2% 86%) | |
| OKLCH | oklch(0.1578 0.0529 269.24) | color: oklch(0.1578 0.0529 269.24) | |
| Lab | lab(3.35 5 -16) | color: lab(3.35 5 -16) | |
| LCH | lch(3.35 16.76 287.35) | color: lch(3.35 16.76 287.35) |
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)
#07071D — rgb(7, 7, 29)
Deuteranopia (Green-blind)
#07071C — rgb(7, 7, 28)
Tritanopia (Blue-blind)
#051817 — rgb(5, 24, 23)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 74%, 8%);
text
color: hsl(231, 74%, 8%);
border
border: 2px solid hsl(231, 74%, 8%);
gradient light
background: linear-gradient(to right, hsl(231, 74%, 28%), hsl(231, 74%, 8%));
gradient dark
background: linear-gradient(to right, hsl(231, 74%, 8%), hsl(231, 74%, 0%))
hex
background-color: #050A23;
tailwind
bg-[hsl(231,74%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 74%, 8%, 0.4);
css variable
--color-primary: hsl(231, 74%, 8%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 74%, 8%)?
HEX: #050A23 | RGB: rgb(5, 10, 35) | CMYK: 86%, 71%, 0%, 86% | HSV: 230°, 86%, 14%. Copy any format from the conversion table above.
What colors go well with #050A23?
The complementary color is HSL(51, 74%, 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, 74%, 8%) in CSS?
As HSL: color: hsl(231, 74%, 8%); — As HEX: color: #050A23; — As RGB: color: rgb(5, 10, 35); — Tailwind CSS: bg-[hsl(231,74%,8%)] — CSS variable: --color-primary: hsl(231, 74%, 8%);