HSL(227, 75%, 5%)
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(227,75%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(227, 75%, 5%) | color: hsl(227, 75%, 5%) | |
| HEX | #030716 | color: #030716 | |
| RGB | rgb(3, 7, 22) | color: rgb(3, 7, 22) | |
| CMYK | cmyk(86%, 68%, 0%, 91%) | — | |
| HSV | hsv(227, 86%, 9%) | — | |
| HWB | hwb(227 1% 91%) | color: hwb(227 1% 91%) | |
| OKLCH | oklch(0.1332 0.0354 265.41) | color: oklch(0.1332 0.0354 265.41) | |
| Lab | lab(2.07 1.66 -7.72) | color: lab(2.07 1.66 -7.72) | |
| LCH | lch(2.07 7.9 282.14) | color: lch(2.07 7.9 282.14) |
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)
#050512 — rgb(5, 5, 18)
Deuteranopia (Green-blind)
#050412 — rgb(5, 4, 18)
Tritanopia (Blue-blind)
#03100F — rgb(3, 16, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(227, 75%, 5%);
text
color: hsl(227, 75%, 5%);
border
border: 2px solid hsl(227, 75%, 5%);
gradient light
background: linear-gradient(to right, hsl(227, 75%, 25%), hsl(227, 75%, 5%));
gradient dark
background: linear-gradient(to right, hsl(227, 75%, 5%), hsl(227, 75%, 0%))
hex
background-color: #030716;
tailwind
bg-[hsl(227,75%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(227, 75%, 5%, 0.4);
css variable
--color-primary: hsl(227, 75%, 5%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(227, 75%, 5%)?
HEX: #030716 | RGB: rgb(3, 7, 22) | CMYK: 86%, 68%, 0%, 91% | HSV: 227°, 86%, 9%. Copy any format from the conversion table above.
What colors go well with #030716?
The complementary color is HSL(47, 75%, 5%). For a triadic harmony, use hues 227°, 347°, and 107°. For analogous combinations, try hues 197° and 257°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(227, 75%, 5%) in CSS?
As HSL: color: hsl(227, 75%, 5%); — As HEX: color: #030716; — As RGB: color: rgb(3, 7, 22); — Tailwind CSS: bg-[hsl(227,75%,5%)] — CSS variable: --color-primary: hsl(227, 75%, 5%);