HSL(232, 24%, 45%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,24%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 24%, 45%) | color: hsl(232, 24%, 45%) | |
| HEX | #575F8E | color: #575F8E | |
| RGB | rgb(87, 95, 142) | color: rgb(87, 95, 142) | |
| CMYK | cmyk(39%, 33%, 0%, 44%) | — | |
| HSV | hsv(231, 39%, 56%) | — | |
| HWB | hwb(231 34% 44%) | color: hwb(231 34% 44%) | |
| OKLCH | oklch(0.4989 0.0757 275.91) | color: oklch(0.4989 0.0757 275.91) | |
| Lab | lab(41.47 9.24 -26.95) | color: lab(41.47 9.24 -26.95) | |
| LCH | lch(41.47 28.49 288.92) | color: lch(41.47 28.49 288.92) |
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)
#5A5B83 — rgb(90, 91, 131)
Deuteranopia (Green-blind)
#5A5980 — rgb(90, 89, 128)
Tritanopia (Blue-blind)
#577A78 — rgb(87, 122, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 24%, 45%);
text
color: hsl(232, 24%, 45%);
border
border: 2px solid hsl(232, 24%, 45%);
gradient light
background: linear-gradient(to right, hsl(232, 24%, 65%), hsl(232, 24%, 45%));
gradient dark
background: linear-gradient(to right, hsl(232, 24%, 45%), hsl(232, 24%, 25%))
hex
background-color: #575F8E;
tailwind
bg-[hsl(232,24%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 24%, 45%, 0.4);
css variable
--color-primary: hsl(232, 24%, 45%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 24%, 45%)?
HEX: #575F8E | RGB: rgb(87, 95, 142) | CMYK: 39%, 33%, 0%, 44% | HSV: 231°, 39%, 56%. Copy any format from the conversion table above.
What colors go well with #575F8E?
The complementary color is HSL(52, 24%, 45%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 24%, 45%) in CSS?
As HSL: color: hsl(232, 24%, 45%); — As HEX: color: #575F8E; — As RGB: color: rgb(87, 95, 142); — Tailwind CSS: bg-[hsl(232,24%,45%)] — CSS variable: --color-primary: hsl(232, 24%, 45%);