HSL(228, 80%, 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(228,80%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(228, 80%, 5%) | color: hsl(228, 80%, 5%) | |
| HEX | #030717 | color: #030717 | |
| RGB | rgb(3, 7, 23) | color: rgb(3, 7, 23) | |
| CMYK | cmyk(87%, 70%, 0%, 91%) | — | |
| HSV | hsv(228, 87%, 9%) | — | |
| HWB | hwb(228 1% 91%) | color: hwb(228 1% 91%) | |
| OKLCH | oklch(0.1341 0.0373 265.98) | color: oklch(0.1341 0.0373 265.98) | |
| Lab | lab(2.11 1.91 -8.4) | color: lab(2.11 1.91 -8.4) | |
| LCH | lch(2.11 8.61 282.81) | color: lch(2.11 8.61 282.81) |
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)
#050513 — rgb(5, 5, 19)
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(228, 80%, 5%);
text
color: hsl(228, 80%, 5%);
border
border: 2px solid hsl(228, 80%, 5%);
gradient light
background: linear-gradient(to right, hsl(228, 80%, 25%), hsl(228, 80%, 5%));
gradient dark
background: linear-gradient(to right, hsl(228, 80%, 5%), hsl(228, 80%, 0%))
hex
background-color: #030717;
tailwind
bg-[hsl(228,80%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(228, 80%, 5%, 0.4);
css variable
--color-primary: hsl(228, 80%, 5%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(228, 80%, 5%)?
HEX: #030717 | RGB: rgb(3, 7, 23) | CMYK: 87%, 70%, 0%, 91% | HSV: 228°, 87%, 9%. Copy any format from the conversion table above.
What colors go well with #030717?
The complementary color is HSL(48, 80%, 5%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(228, 80%, 5%) in CSS?
As HSL: color: hsl(228, 80%, 5%); — As HEX: color: #030717; — As RGB: color: rgb(3, 7, 23); — Tailwind CSS: bg-[hsl(228,80%,5%)] — CSS variable: --color-primary: hsl(228, 80%, 5%);