HSL(237, 40%, 53%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,40%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 40%, 53%) | color: hsl(237, 40%, 53%) | |
| HEX | #575CB7 | color: #575CB7 | |
| RGB | rgb(87, 92, 183) | color: rgb(87, 92, 183) | |
| CMYK | cmyk(52%, 50%, 0%, 28%) | — | |
| HSV | hsv(237, 52%, 72%) | — | |
| HWB | hwb(237 35% 28%) | color: hwb(237 35% 28%) | |
| OKLCH | oklch(0.5172 0.141 277.88) | color: oklch(0.5172 0.141 277.88) | |
| Lab | lab(42.91 23.88 -49) | color: lab(42.91 23.88 -49) | |
| LCH | lch(42.91 54.51 295.98) | color: lch(42.91 54.51 295.98) |
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)
#5959A1 — rgb(89, 89, 161)
Deuteranopia (Green-blind)
#59599C — rgb(89, 89, 156)
Tritanopia (Blue-blind)
#57908C — rgb(87, 144, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 40%, 53%);
text
color: hsl(237, 40%, 53%);
border
border: 2px solid hsl(237, 40%, 53%);
gradient light
background: linear-gradient(to right, hsl(237, 40%, 73%), hsl(237, 40%, 53%));
gradient dark
background: linear-gradient(to right, hsl(237, 40%, 53%), hsl(237, 40%, 33%))
hex
background-color: #575CB7;
tailwind
bg-[hsl(237,40%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 40%, 53%, 0.4);
css variable
--color-primary: hsl(237, 40%, 53%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 40%, 53%)?
HEX: #575CB7 | RGB: rgb(87, 92, 183) | CMYK: 52%, 50%, 0%, 28% | HSV: 237°, 52%, 72%. Copy any format from the conversion table above.
What colors go well with #575CB7?
The complementary color is HSL(57, 40%, 53%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 40%, 53%) in CSS?
As HSL: color: hsl(237, 40%, 53%); — As HEX: color: #575CB7; — As RGB: color: rgb(87, 92, 183); — Tailwind CSS: bg-[hsl(237,40%,53%)] — CSS variable: --color-primary: hsl(237, 40%, 53%);