HSL(212, 100%, 32%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,100%,32%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 100%, 32%) | color: hsl(212, 100%, 32%) | |
| HEX | #004CA3 | color: #004CA3 | |
| RGB | rgb(0, 76, 163) | color: rgb(0, 76, 163) | |
| CMYK | cmyk(100%, 53%, 0%, 36%) | — | |
| HSV | hsv(212, 100%, 64%) | — | |
| HWB | hwb(212 0% 36%) | color: hwb(212 0% 36%) | |
| OKLCH | oklch(0.4324 0.1551 257.26) | color: oklch(0.4324 0.1551 257.26) | |
| Lab | lab(33.59 15.77 -52.37) | color: lab(33.59 15.77 -52.37) | |
| LCH | lch(33.59 54.69 286.76) | color: lch(33.59 54.69 286.76) |
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)
#21228E — rgb(33, 34, 142)
Deuteranopia (Green-blind)
#1D1789 — rgb(29, 23, 137)
Tritanopia (Blue-blind)
#047D7A — rgb(4, 125, 122)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 100%, 32%);
text
color: hsl(212, 100%, 32%);
border
border: 2px solid hsl(212, 100%, 32%);
gradient light
background: linear-gradient(to right, hsl(212, 100%, 52%), hsl(212, 100%, 32%));
gradient dark
background: linear-gradient(to right, hsl(212, 100%, 32%), hsl(212, 100%, 12%))
hex
background-color: #004CA3;
tailwind
bg-[hsl(212,100%,32%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 100%, 32%, 0.4);
css variable
--color-primary: hsl(212, 100%, 32%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 100%, 32%)?
HEX: #004CA3 | RGB: rgb(0, 76, 163) | CMYK: 100%, 53%, 0%, 36% | HSV: 212°, 100%, 64%. Copy any format from the conversion table above.
What colors go well with #004CA3?
The complementary color is HSL(32, 100%, 32%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(212, 100%, 32%) in CSS?
As HSL: color: hsl(212, 100%, 32%); — As HEX: color: #004CA3; — As RGB: color: rgb(0, 76, 163); — Tailwind CSS: bg-[hsl(212,100%,32%)] — CSS variable: --color-primary: hsl(212, 100%, 32%);