HSL(252, 90%, 16%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(252,90%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(252, 90%, 16%) | color: hsl(252, 90%, 16%) | |
| HEX | #13044E | color: #13044E | |
| RGB | rgb(19, 4, 78) | color: rgb(19, 4, 78) | |
| CMYK | cmyk(76%, 95%, 0%, 69%) | — | |
| HSV | hsv(252, 95%, 31%) | — | |
| HWB | hwb(252 2% 69%) | color: hwb(252 2% 69%) | |
| OKLCH | oklch(0.2124 0.1212 278.44) | color: oklch(0.2124 0.1212 278.44) | |
| Lab | lab(7 31.27 -41.47) | color: lab(7 31.27 -41.47) | |
| LCH | lch(7 51.94 307.02) | color: lch(7 51.94 307.02) |
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)
#0D0C3C — rgb(13, 12, 60)
Deuteranopia (Green-blind)
#0D0F38 — rgb(13, 15, 56)
Tritanopia (Blue-blind)
#122E2B — rgb(18, 46, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(252, 90%, 16%);
text
color: hsl(252, 90%, 16%);
border
border: 2px solid hsl(252, 90%, 16%);
gradient light
background: linear-gradient(to right, hsl(252, 90%, 36%), hsl(252, 90%, 16%));
gradient dark
background: linear-gradient(to right, hsl(252, 90%, 16%), hsl(252, 90%, 0%))
hex
background-color: #13044E;
tailwind
bg-[hsl(252,90%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(252, 90%, 16%, 0.4);
css variable
--color-primary: hsl(252, 90%, 16%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(252, 90%, 16%)?
HEX: #13044E | RGB: rgb(19, 4, 78) | CMYK: 76%, 95%, 0%, 69% | HSV: 252°, 95%, 31%. Copy any format from the conversion table above.
What colors go well with #13044E?
The complementary color is HSL(72, 90%, 16%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(252, 90%, 16%) in CSS?
As HSL: color: hsl(252, 90%, 16%); — As HEX: color: #13044E; — As RGB: color: rgb(19, 4, 78); — Tailwind CSS: bg-[hsl(252,90%,16%)] — CSS variable: --color-primary: hsl(252, 90%, 16%);