HSL(247, 43%, 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,43%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 43%, 7%) | color: hsl(247, 43%, 7%) | |
| HEX | #0C0A1A | color: #0C0A1A | |
| RGB | rgb(12, 10, 26) | color: rgb(12, 10, 26) | |
| CMYK | cmyk(54%, 62%, 0%, 90%) | — | |
| HSV | hsv(248, 62%, 10%) | — | |
| HWB | hwb(248 4% 90%) | color: hwb(248 4% 90%) | |
| OKLCH | oklch(0.1572 0.0334 287.64) | color: oklch(0.1572 0.0334 287.64) | |
| Lab | lab(3.34 3.89 -8.88) | color: lab(3.34 3.89 -8.88) | |
| LCH | lch(3.34 9.69 293.66) | color: lch(3.34 9.69 293.66) |
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)
#0B0B16 — rgb(11, 11, 22)
Deuteranopia (Green-blind)
#0B0B15 — rgb(11, 11, 21)
Tritanopia (Blue-blind)
#0C1312 — rgb(12, 19, 18)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 43%, 7%);
text
color: hsl(247, 43%, 7%);
border
border: 2px solid hsl(247, 43%, 7%);
gradient light
background: linear-gradient(to right, hsl(247, 43%, 27%), hsl(247, 43%, 7%));
gradient dark
background: linear-gradient(to right, hsl(247, 43%, 7%), hsl(247, 43%, 0%))
hex
background-color: #0C0A1A;
tailwind
bg-[hsl(247,43%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 43%, 7%, 0.4);
css variable
--color-primary: hsl(247, 43%, 7%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 43%, 7%)?
HEX: #0C0A1A | RGB: rgb(12, 10, 26) | CMYK: 54%, 62%, 0%, 90% | HSV: 248°, 62%, 10%. Copy any format from the conversion table above.
What colors go well with #0C0A1A?
The complementary color is HSL(67, 43%, 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, 43%, 7%) in CSS?
As HSL: color: hsl(247, 43%, 7%); — As HEX: color: #0C0A1A; — As RGB: color: rgb(12, 10, 26); — Tailwind CSS: bg-[hsl(247,43%,7%)] — CSS variable: --color-primary: hsl(247, 43%, 7%);