HSL(213, 50%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(213,50%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(213, 50%, 52%) | color: hsl(213, 50%, 52%) | |
| HEX | #477EC2 | color: #477EC2 | |
| RGB | rgb(71, 126, 194) | color: rgb(71, 126, 194) | |
| CMYK | cmyk(63%, 35%, 0%, 24%) | — | |
| HSV | hsv(213, 63%, 76%) | — | |
| HWB | hwb(213 28% 24%) | color: hwb(213 28% 24%) | |
| OKLCH | oklch(0.5868 0.1202 254.73) | color: oklch(0.5868 0.1202 254.73) | |
| Lab | lab(52.01 3.22 -40.93) | color: lab(52.01 3.22 -40.93) | |
| LCH | lch(52.01 41.06 274.5) | color: lch(52.01 41.06 274.5) |
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)
#5F5FB2 — rgb(95, 95, 178)
Deuteranopia (Green-blind)
#5C58AE — rgb(92, 88, 174)
Tritanopia (Blue-blind)
#4AA5A2 — rgb(74, 165, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(213, 50%, 52%);
text
color: hsl(213, 50%, 52%);
border
border: 2px solid hsl(213, 50%, 52%);
gradient light
background: linear-gradient(to right, hsl(213, 50%, 72%), hsl(213, 50%, 52%));
gradient dark
background: linear-gradient(to right, hsl(213, 50%, 52%), hsl(213, 50%, 32%))
hex
background-color: #477EC2;
tailwind
bg-[hsl(213,50%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(213, 50%, 52%, 0.4);
css variable
--color-primary: hsl(213, 50%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(213, 50%, 52%)?
HEX: #477EC2 | RGB: rgb(71, 126, 194) | CMYK: 63%, 35%, 0%, 24% | HSV: 213°, 63%, 76%. Copy any format from the conversion table above.
What colors go well with #477EC2?
The complementary color is HSL(33, 50%, 52%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(213, 50%, 52%) in CSS?
As HSL: color: hsl(213, 50%, 52%); — As HEX: color: #477EC2; — As RGB: color: rgb(71, 126, 194); — Tailwind CSS: bg-[hsl(213,50%,52%)] — CSS variable: --color-primary: hsl(213, 50%, 52%);