HSL(232, 40%, 57%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(232,40%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 40%, 57%) | color: hsl(232, 40%, 57%) | |
| HEX | #6571BD | color: #6571BD | |
| RGB | rgb(101, 113, 189) | color: rgb(101, 113, 189) | |
| CMYK | cmyk(47%, 40%, 0%, 26%) | — | |
| HSV | hsv(232, 47%, 74%) | — | |
| HWB | hwb(232 39% 26%) | color: hwb(232 39% 26%) | |
| OKLCH | oklch(0.5732 0.1176 275.28) | color: oklch(0.5732 0.1176 275.28) | |
| Lab | lab(49.8 16.02 -41.45) | color: lab(49.8 16.02 -41.45) | |
| LCH | lch(49.8 44.44 291.13) | color: lch(49.8 44.44 291.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: black
Color Blindness Simulation
Protanopia (Red-blind)
#6A6AAB — rgb(106, 106, 171)
Deuteranopia (Green-blind)
#6A69A6 — rgb(106, 105, 166)
Tritanopia (Blue-blind)
#669C99 — rgb(102, 156, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 40%, 57%);
text
color: hsl(232, 40%, 57%);
border
border: 2px solid hsl(232, 40%, 57%);
gradient light
background: linear-gradient(to right, hsl(232, 40%, 77%), hsl(232, 40%, 57%));
gradient dark
background: linear-gradient(to right, hsl(232, 40%, 57%), hsl(232, 40%, 37%))
hex
background-color: #6571BD;
tailwind
bg-[hsl(232,40%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 40%, 57%, 0.4);
css variable
--color-primary: hsl(232, 40%, 57%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 40%, 57%)?
HEX: #6571BD | RGB: rgb(101, 113, 189) | CMYK: 47%, 40%, 0%, 26% | HSV: 232°, 47%, 74%. Copy any format from the conversion table above.
What colors go well with #6571BD?
The complementary color is HSL(52, 40%, 57%). 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, 40%, 57%) in CSS?
As HSL: color: hsl(232, 40%, 57%); — As HEX: color: #6571BD; — As RGB: color: rgb(101, 113, 189); — Tailwind CSS: bg-[hsl(232,40%,57%)] — CSS variable: --color-primary: hsl(232, 40%, 57%);