HSL(212, 52%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(212,52%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(212, 52%, 52%) | color: hsl(212, 52%, 52%) | |
| HEX | #4580C4 | color: #4580C4 | |
| RGB | rgb(69, 128, 196) | color: rgb(69, 128, 196) | |
| CMYK | cmyk(65%, 35%, 0%, 23%) | — | |
| HSV | hsv(212, 65%, 77%) | — | |
| HWB | hwb(212 27% 23%) | color: hwb(212 27% 23%) | |
| OKLCH | oklch(0.5915 0.1217 253.4) | color: oklch(0.5915 0.1217 253.4) | |
| Lab | lab(52.61 2.34 -41.14) | color: lab(52.61 2.34 -41.14) | |
| LCH | lch(52.61 41.21 273.26) | color: lch(52.61 41.21 273.26) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#5F5FB4 — rgb(95, 95, 180)
Deuteranopia (Green-blind)
#5B57B0 — rgb(91, 87, 176)
Tritanopia (Blue-blind)
#48A7A4 — rgb(72, 167, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(212, 52%, 52%);
text
color: hsl(212, 52%, 52%);
border
border: 2px solid hsl(212, 52%, 52%);
gradient light
background: linear-gradient(to right, hsl(212, 52%, 72%), hsl(212, 52%, 52%));
gradient dark
background: linear-gradient(to right, hsl(212, 52%, 52%), hsl(212, 52%, 32%))
hex
background-color: #4580C4;
tailwind
bg-[hsl(212,52%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(212, 52%, 52%, 0.4);
css variable
--color-primary: hsl(212, 52%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(212, 52%, 52%)?
HEX: #4580C4 | RGB: rgb(69, 128, 196) | CMYK: 65%, 35%, 0%, 23% | HSV: 212°, 65%, 77%. Copy any format from the conversion table above.
What colors go well with #4580C4?
The complementary color is HSL(32, 52%, 52%). 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, 52%, 52%) in CSS?
As HSL: color: hsl(212, 52%, 52%); — As HEX: color: #4580C4; — As RGB: color: rgb(69, 128, 196); — Tailwind CSS: bg-[hsl(212,52%,52%)] — CSS variable: --color-primary: hsl(212, 52%, 52%);