HSL(247, 74%, 9%)
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,74%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 74%, 9%) | color: hsl(247, 74%, 9%) | |
| HEX | #0A0628 | color: #0A0628 | |
| RGB | rgb(10, 6, 40) | color: rgb(10, 6, 40) | |
| CMYK | cmyk(75%, 85%, 0%, 84%) | — | |
| HSV | hsv(247, 85%, 16%) | — | |
| HWB | hwb(247 2% 84%) | color: hwb(247 2% 84%) | |
| OKLCH | oklch(0.1581 0.0672 281.51) | color: oklch(0.1581 0.0672 281.51) | |
| Lab | lab(3.14 9.93 -20.15) | color: lab(3.14 9.93 -20.15) | |
| LCH | lch(3.14 22.46 296.23) | color: lch(3.14 22.46 296.23) |
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)
#080820 — rgb(8, 8, 32)
Deuteranopia (Green-blind)
#09091E — rgb(9, 9, 30)
Tritanopia (Blue-blind)
#0A1918 — rgb(10, 25, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 74%, 9%);
text
color: hsl(247, 74%, 9%);
border
border: 2px solid hsl(247, 74%, 9%);
gradient light
background: linear-gradient(to right, hsl(247, 74%, 29%), hsl(247, 74%, 9%));
gradient dark
background: linear-gradient(to right, hsl(247, 74%, 9%), hsl(247, 74%, 0%))
hex
background-color: #0A0628;
tailwind
bg-[hsl(247,74%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 74%, 9%, 0.4);
css variable
--color-primary: hsl(247, 74%, 9%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 74%, 9%)?
HEX: #0A0628 | RGB: rgb(10, 6, 40) | CMYK: 75%, 85%, 0%, 84% | HSV: 247°, 85%, 16%. Copy any format from the conversion table above.
What colors go well with #0A0628?
The complementary color is HSL(67, 74%, 9%). 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, 74%, 9%) in CSS?
As HSL: color: hsl(247, 74%, 9%); — As HEX: color: #0A0628; — As RGB: color: rgb(10, 6, 40); — Tailwind CSS: bg-[hsl(247,74%,9%)] — CSS variable: --color-primary: hsl(247, 74%, 9%);