HSL(243, 80%, 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(243,80%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(243, 80%, 7%) | color: hsl(243, 80%, 7%) | |
| HEX | #050420 | color: #050420 | |
| RGB | rgb(5, 4, 32) | color: rgb(5, 4, 32) | |
| CMYK | cmyk(84%, 88%, 0%, 87%) | — | |
| HSV | hsv(242, 88%, 13%) | — | |
| HWB | hwb(242 2% 87%) | color: hwb(242 2% 87%) | |
| OKLCH | oklch(0.1362 0.0599 277.26) | color: oklch(0.1362 0.0599 277.26) | |
| Lab | lab(2.02 6.32 -15.68) | color: lab(2.02 6.32 -15.68) | |
| LCH | lch(2.02 16.91 291.95) | color: lch(2.02 16.91 291.95) |
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)
#050519 — rgb(5, 5, 25)
Deuteranopia (Green-blind)
#050518 — rgb(5, 5, 24)
Tritanopia (Blue-blind)
#051413 — rgb(5, 20, 19)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(243, 80%, 7%);
text
color: hsl(243, 80%, 7%);
border
border: 2px solid hsl(243, 80%, 7%);
gradient light
background: linear-gradient(to right, hsl(243, 80%, 27%), hsl(243, 80%, 7%));
gradient dark
background: linear-gradient(to right, hsl(243, 80%, 7%), hsl(243, 80%, 0%))
hex
background-color: #050420;
tailwind
bg-[hsl(243,80%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(243, 80%, 7%, 0.4);
css variable
--color-primary: hsl(243, 80%, 7%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(243, 80%, 7%)?
HEX: #050420 | RGB: rgb(5, 4, 32) | CMYK: 84%, 88%, 0%, 87% | HSV: 242°, 88%, 13%. Copy any format from the conversion table above.
What colors go well with #050420?
The complementary color is HSL(63, 80%, 7%). For a triadic harmony, use hues 243°, 3°, and 123°. For analogous combinations, try hues 213° and 273°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(243, 80%, 7%) in CSS?
As HSL: color: hsl(243, 80%, 7%); — As HEX: color: #050420; — As RGB: color: rgb(5, 4, 32); — Tailwind CSS: bg-[hsl(243,80%,7%)] — CSS variable: --color-primary: hsl(243, 80%, 7%);