HSL(231, 35%, 53%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,35%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 35%, 53%) | color: hsl(231, 35%, 53%) | |
| HEX | #5D6AB1 | color: #5D6AB1 | |
| RGB | rgb(93, 106, 177) | color: rgb(93, 106, 177) | |
| CMYK | cmyk(47%, 40%, 0%, 31%) | — | |
| HSV | hsv(231, 47%, 69%) | — | |
| HWB | hwb(231 37% 31%) | color: hwb(231 37% 31%) | |
| OKLCH | oklch(0.5461 0.1116 274.28) | color: oklch(0.5461 0.1116 274.28) | |
| Lab | lab(46.72 14.64 -39.4) | color: lab(46.72 14.64 -39.4) | |
| LCH | lch(46.72 42.03 290.38) | color: lch(46.72 42.03 290.38) |
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)
#6363A0 — rgb(99, 99, 160)
Deuteranopia (Green-blind)
#62619C — rgb(98, 97, 156)
Tritanopia (Blue-blind)
#5E928F — rgb(94, 146, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 35%, 53%);
text
color: hsl(231, 35%, 53%);
border
border: 2px solid hsl(231, 35%, 53%);
gradient light
background: linear-gradient(to right, hsl(231, 35%, 73%), hsl(231, 35%, 53%));
gradient dark
background: linear-gradient(to right, hsl(231, 35%, 53%), hsl(231, 35%, 33%))
hex
background-color: #5D6AB1;
tailwind
bg-[hsl(231,35%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 35%, 53%, 0.4);
css variable
--color-primary: hsl(231, 35%, 53%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 35%, 53%)?
HEX: #5D6AB1 | RGB: rgb(93, 106, 177) | CMYK: 47%, 40%, 0%, 31% | HSV: 231°, 47%, 69%. Copy any format from the conversion table above.
What colors go well with #5D6AB1?
The complementary color is HSL(51, 35%, 53%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 35%, 53%) in CSS?
As HSL: color: hsl(231, 35%, 53%); — As HEX: color: #5D6AB1; — As RGB: color: rgb(93, 106, 177); — Tailwind CSS: bg-[hsl(231,35%,53%)] — CSS variable: --color-primary: hsl(231, 35%, 53%);