HSL(229, 99%, 13%)
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(229,99%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(229, 99%, 13%) | color: hsl(229, 99%, 13%) | |
| HEX | #000C42 | color: #000C42 | |
| RGB | rgb(0, 12, 66) | color: rgb(0, 12, 66) | |
| CMYK | cmyk(100%, 82%, 0%, 74%) | — | |
| HSV | hsv(229, 100%, 26%) | — | |
| HWB | hwb(229 0% 74%) | color: hwb(229 0% 74%) | |
| OKLCH | oklch(0.1951 0.1029 263.41) | color: oklch(0.1951 0.1029 263.41) | |
| Lab | lab(5.93 19.08 -34.86) | color: lab(5.93 19.08 -34.86) | |
| LCH | lch(5.93 39.74 298.69) | color: lch(5.93 39.74 298.69) |
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)
#050535 — rgb(5, 5, 53)
Deuteranopia (Green-blind)
#050432 — rgb(5, 4, 50)
Tritanopia (Blue-blind)
#012B28 — rgb(1, 43, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(229, 99%, 13%);
text
color: hsl(229, 99%, 13%);
border
border: 2px solid hsl(229, 99%, 13%);
gradient light
background: linear-gradient(to right, hsl(229, 99%, 33%), hsl(229, 99%, 13%));
gradient dark
background: linear-gradient(to right, hsl(229, 99%, 13%), hsl(229, 99%, 0%))
hex
background-color: #000C42;
tailwind
bg-[hsl(229,99%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(229, 99%, 13%, 0.4);
css variable
--color-primary: hsl(229, 99%, 13%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(229, 99%, 13%)?
HEX: #000C42 | RGB: rgb(0, 12, 66) | CMYK: 100%, 82%, 0%, 74% | HSV: 229°, 100%, 26%. Copy any format from the conversion table above.
What colors go well with #000C42?
The complementary color is HSL(49, 99%, 13%). For a triadic harmony, use hues 229°, 349°, and 109°. For analogous combinations, try hues 199° and 259°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(229, 99%, 13%) in CSS?
As HSL: color: hsl(229, 99%, 13%); — As HEX: color: #000C42; — As RGB: color: rgb(0, 12, 66); — Tailwind CSS: bg-[hsl(229,99%,13%)] — CSS variable: --color-primary: hsl(229, 99%, 13%);