HSL(249, 59%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,59%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 59%, 52%) | color: hsl(249, 59%, 52%) | |
| HEX | #523CCD | color: #523CCD | |
| RGB | rgb(82, 60, 205) | color: rgb(82, 60, 205) | |
| CMYK | cmyk(60%, 71%, 0%, 20%) | — | |
| HSV | hsv(249, 71%, 80%) | — | |
| HWB | hwb(249 23% 20%) | color: hwb(249 23% 20%) | |
| OKLCH | oklch(0.4765 0.2112 281.71) | color: oklch(0.4765 0.2112 281.71) | |
| Lab | lab(36.8 49.12 -71.75) | color: lab(36.8 49.12 -71.75) | |
| LCH | lch(36.8 86.95 304.4) | color: lch(36.8 86.95 304.4) |
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)
#4848AA — rgb(72, 72, 170)
Deuteranopia (Green-blind)
#4A4BA2 — rgb(74, 75, 162)
Tritanopia (Blue-blind)
#518E88 — rgb(81, 142, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 59%, 52%);
text
color: hsl(249, 59%, 52%);
border
border: 2px solid hsl(249, 59%, 52%);
gradient light
background: linear-gradient(to right, hsl(249, 59%, 72%), hsl(249, 59%, 52%));
gradient dark
background: linear-gradient(to right, hsl(249, 59%, 52%), hsl(249, 59%, 32%))
hex
background-color: #523CCD;
tailwind
bg-[hsl(249,59%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 59%, 52%, 0.4);
css variable
--color-primary: hsl(249, 59%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 59%, 52%)?
HEX: #523CCD | RGB: rgb(82, 60, 205) | CMYK: 60%, 71%, 0%, 20% | HSV: 249°, 71%, 80%. Copy any format from the conversion table above.
What colors go well with #523CCD?
The complementary color is HSL(69, 59%, 52%). For a triadic harmony, use hues 249°, 9°, and 129°. For analogous combinations, try hues 219° and 279°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(249, 59%, 52%) in CSS?
As HSL: color: hsl(249, 59%, 52%); — As HEX: color: #523CCD; — As RGB: color: rgb(82, 60, 205); — Tailwind CSS: bg-[hsl(249,59%,52%)] — CSS variable: --color-primary: hsl(249, 59%, 52%);