HSL(232, 90%, 14%)
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(232,90%,14%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 90%, 14%) | color: hsl(232, 90%, 14%) | |
| HEX | #040C44 | color: #040C44 | |
| RGB | rgb(4, 12, 68) | color: rgb(4, 12, 68) | |
| CMYK | cmyk(94%, 82%, 0%, 73%) | — | |
| HSV | hsv(233, 94%, 27%) | — | |
| HWB | hwb(233 2% 73%) | color: hwb(233 2% 73%) | |
| OKLCH | oklch(0.2005 0.1038 266.87) | color: oklch(0.2005 0.1038 266.87) | |
| Lab | lab(6.38 20.76 -35.53) | color: lab(6.38 20.76 -35.53) | |
| LCH | lch(6.38 41.15 300.3) | color: lch(6.38 41.15 300.3) |
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)
#070836 — rgb(7, 8, 54)
Deuteranopia (Green-blind)
#070633 — rgb(7, 6, 51)
Tritanopia (Blue-blind)
#042C29 — rgb(4, 44, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 90%, 14%);
text
color: hsl(232, 90%, 14%);
border
border: 2px solid hsl(232, 90%, 14%);
gradient light
background: linear-gradient(to right, hsl(232, 90%, 34%), hsl(232, 90%, 14%));
gradient dark
background: linear-gradient(to right, hsl(232, 90%, 14%), hsl(232, 90%, 0%))
hex
background-color: #040C44;
tailwind
bg-[hsl(232,90%,14%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 90%, 14%, 0.4);
css variable
--color-primary: hsl(232, 90%, 14%);
Related Colors
Use Cases for Very Dark Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 90%, 14%)?
HEX: #040C44 | RGB: rgb(4, 12, 68) | CMYK: 94%, 82%, 0%, 73% | HSV: 233°, 94%, 27%. Copy any format from the conversion table above.
What colors go well with #040C44?
The complementary color is HSL(52, 90%, 14%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 90%, 14%) in CSS?
As HSL: color: hsl(232, 90%, 14%); — As HEX: color: #040C44; — As RGB: color: rgb(4, 12, 68); — Tailwind CSS: bg-[hsl(232,90%,14%)] — CSS variable: --color-primary: hsl(232, 90%, 14%);