HSL(233, 41%, 54%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,41%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 41%, 54%) | color: hsl(233, 41%, 54%) | |
| HEX | #5A65BA | color: #5A65BA | |
| RGB | rgb(90, 101, 186) | color: rgb(90, 101, 186) | |
| CMYK | cmyk(52%, 46%, 0%, 27%) | — | |
| HSV | hsv(233, 52%, 73%) | — | |
| HWB | hwb(233 35% 27%) | color: hwb(233 35% 27%) | |
| OKLCH | oklch(0.5392 0.1323 275.49) | color: oklch(0.5392 0.1323 275.49) | |
| Lab | lab(45.67 19.88 -46.32) | color: lab(45.67 19.88 -46.32) | |
| LCH | lch(45.67 50.41 293.23) | color: lch(45.67 50.41 293.23) |
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)
#5F5FA5 — rgb(95, 95, 165)
Deuteranopia (Green-blind)
#5E5DA1 — rgb(94, 93, 161)
Tritanopia (Blue-blind)
#5B9592 — rgb(91, 149, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 41%, 54%);
text
color: hsl(233, 41%, 54%);
border
border: 2px solid hsl(233, 41%, 54%);
gradient light
background: linear-gradient(to right, hsl(233, 41%, 74%), hsl(233, 41%, 54%));
gradient dark
background: linear-gradient(to right, hsl(233, 41%, 54%), hsl(233, 41%, 34%))
hex
background-color: #5A65BA;
tailwind
bg-[hsl(233,41%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 41%, 54%, 0.4);
css variable
--color-primary: hsl(233, 41%, 54%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 41%, 54%)?
HEX: #5A65BA | RGB: rgb(90, 101, 186) | CMYK: 52%, 46%, 0%, 27% | HSV: 233°, 52%, 73%. Copy any format from the conversion table above.
What colors go well with #5A65BA?
The complementary color is HSL(53, 41%, 54%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 41%, 54%) in CSS?
As HSL: color: hsl(233, 41%, 54%); — As HEX: color: #5A65BA; — As RGB: color: rgb(90, 101, 186); — Tailwind CSS: bg-[hsl(233,41%,54%)] — CSS variable: --color-primary: hsl(233, 41%, 54%);