HSL(247, 97%, 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(247,97%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 97%, 7%) | color: hsl(247, 97%, 7%) | |
| HEX | #050123 | color: #050123 | |
| RGB | rgb(5, 1, 35) | color: rgb(5, 1, 35) | |
| CMYK | cmyk(86%, 97%, 0%, 86%) | — | |
| HSV | hsv(247, 97%, 14%) | — | |
| HWB | hwb(247 0% 86%) | color: hwb(247 0% 86%) | |
| OKLCH | oklch(0.1292 0.0728 279) | color: oklch(0.1292 0.0728 279) | |
| Lab | lab(1.58 8.61 -18.71) | color: lab(1.58 8.61 -18.71) | |
| LCH | lch(1.58 20.6 294.71) | color: lch(1.58 20.6 294.71) |
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)
#03031B — rgb(3, 3, 27)
Deuteranopia (Green-blind)
#040419 — rgb(4, 4, 25)
Tritanopia (Blue-blind)
#051413 — rgb(5, 20, 19)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 97%, 7%);
text
color: hsl(247, 97%, 7%);
border
border: 2px solid hsl(247, 97%, 7%);
gradient light
background: linear-gradient(to right, hsl(247, 97%, 27%), hsl(247, 97%, 7%));
gradient dark
background: linear-gradient(to right, hsl(247, 97%, 7%), hsl(247, 97%, 0%))
hex
background-color: #050123;
tailwind
bg-[hsl(247,97%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 97%, 7%, 0.4);
css variable
--color-primary: hsl(247, 97%, 7%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 97%, 7%)?
HEX: #050123 | RGB: rgb(5, 1, 35) | CMYK: 86%, 97%, 0%, 86% | HSV: 247°, 97%, 14%. Copy any format from the conversion table above.
What colors go well with #050123?
The complementary color is HSL(67, 97%, 7%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 97%, 7%) in CSS?
As HSL: color: hsl(247, 97%, 7%); — As HEX: color: #050123; — As RGB: color: rgb(5, 1, 35); — Tailwind CSS: bg-[hsl(247,97%,7%)] — CSS variable: --color-primary: hsl(247, 97%, 7%);