HSL(243, 40%, 53%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(243,40%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(243, 40%, 53%) | color: hsl(243, 40%, 53%) | |
| HEX | #5C57B7 | color: #5C57B7 | |
| RGB | rgb(92, 87, 183) | color: rgb(92, 87, 183) | |
| CMYK | cmyk(50%, 52%, 0%, 28%) | — | |
| HSV | hsv(243, 52%, 72%) | — | |
| HWB | hwb(243 35% 28%) | color: hwb(243 35% 28%) | |
| OKLCH | oklch(0.5114 0.1471 282.21) | color: oklch(0.5114 0.1471 282.21) | |
| Lab | lab(42.02 28.1 -50.42) | color: lab(42.02 28.1 -50.42) | |
| LCH | lch(42.02 57.72 299.13) | color: lch(42.02 57.72 299.13) |
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)
#5A5AA0 — rgb(90, 90, 160)
Deuteranopia (Green-blind)
#5A5B9A — rgb(90, 91, 154)
Tritanopia (Blue-blind)
#5C8D89 — rgb(92, 141, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(243, 40%, 53%);
text
color: hsl(243, 40%, 53%);
border
border: 2px solid hsl(243, 40%, 53%);
gradient light
background: linear-gradient(to right, hsl(243, 40%, 73%), hsl(243, 40%, 53%));
gradient dark
background: linear-gradient(to right, hsl(243, 40%, 53%), hsl(243, 40%, 33%))
hex
background-color: #5C57B7;
tailwind
bg-[hsl(243,40%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(243, 40%, 53%, 0.4);
css variable
--color-primary: hsl(243, 40%, 53%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(243, 40%, 53%)?
HEX: #5C57B7 | RGB: rgb(92, 87, 183) | CMYK: 50%, 52%, 0%, 28% | HSV: 243°, 52%, 72%. Copy any format from the conversion table above.
What colors go well with #5C57B7?
The complementary color is HSL(63, 40%, 53%). For a triadic harmony, use hues 243°, 3°, and 123°. For analogous combinations, try hues 213° and 273°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(243, 40%, 53%) in CSS?
As HSL: color: hsl(243, 40%, 53%); — As HEX: color: #5C57B7; — As RGB: color: rgb(92, 87, 183); — Tailwind CSS: bg-[hsl(243,40%,53%)] — CSS variable: --color-primary: hsl(243, 40%, 53%);