HSL(247, 54%, 8%)
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,54%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 54%, 8%) | color: hsl(247, 54%, 8%) | |
| HEX | #0C091F | color: #0C091F | |
| RGB | rgb(12, 9, 31) | color: rgb(12, 9, 31) | |
| CMYK | cmyk(61%, 71%, 0%, 88%) | — | |
| HSV | hsv(248, 71%, 12%) | — | |
| HWB | hwb(248 3% 88%) | color: hwb(248 3% 88%) | |
| OKLCH | oklch(0.1588 0.0451 286.37) | color: oklch(0.1588 0.0451 286.37) | |
| Lab | lab(3.36 5.84 -12.81) | color: lab(3.36 5.84 -12.81) | |
| LCH | lch(3.36 14.08 294.51) | color: lch(3.36 14.08 294.51) |
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)
#0B0B1A — rgb(11, 11, 26)
Deuteranopia (Green-blind)
#0B0B18 — rgb(11, 11, 24)
Tritanopia (Blue-blind)
#0C1515 — rgb(12, 21, 21)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 54%, 8%);
text
color: hsl(247, 54%, 8%);
border
border: 2px solid hsl(247, 54%, 8%);
gradient light
background: linear-gradient(to right, hsl(247, 54%, 28%), hsl(247, 54%, 8%));
gradient dark
background: linear-gradient(to right, hsl(247, 54%, 8%), hsl(247, 54%, 0%))
hex
background-color: #0C091F;
tailwind
bg-[hsl(247,54%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 54%, 8%, 0.4);
css variable
--color-primary: hsl(247, 54%, 8%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(247, 54%, 8%)?
HEX: #0C091F | RGB: rgb(12, 9, 31) | CMYK: 61%, 71%, 0%, 88% | HSV: 248°, 71%, 12%. Copy any format from the conversion table above.
What colors go well with #0C091F?
The complementary color is HSL(67, 54%, 8%). 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, 54%, 8%) in CSS?
As HSL: color: hsl(247, 54%, 8%); — As HEX: color: #0C091F; — As RGB: color: rgb(12, 9, 31); — Tailwind CSS: bg-[hsl(247,54%,8%)] — CSS variable: --color-primary: hsl(247, 54%, 8%);