HSL(253, 40%, 54%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(253,40%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(253, 40%, 54%) | color: hsl(253, 40%, 54%) | |
| HEX | #6F5BB9 | color: #6F5BB9 | |
| RGB | rgb(111, 91, 185) | color: rgb(111, 91, 185) | |
| CMYK | cmyk(40%, 51%, 0%, 27%) | — | |
| HSV | hsv(253, 51%, 73%) | — | |
| HWB | hwb(253 36% 27%) | color: hwb(253 36% 27%) | |
| OKLCH | oklch(0.5362 0.1426 290.57) | color: oklch(0.5362 0.1426 290.57) | |
| Lab | lab(44.75 30.76 -47.11) | color: lab(44.75 30.76 -47.11) | |
| LCH | lch(44.75 56.26 303.14) | color: lch(44.75 56.26 303.14) |
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)
#6666A2 — rgb(102, 102, 162)
Deuteranopia (Green-blind)
#68699D — rgb(104, 105, 157)
Tritanopia (Blue-blind)
#6E908C — rgb(110, 144, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(253, 40%, 54%);
text
color: hsl(253, 40%, 54%);
border
border: 2px solid hsl(253, 40%, 54%);
gradient light
background: linear-gradient(to right, hsl(253, 40%, 74%), hsl(253, 40%, 54%));
gradient dark
background: linear-gradient(to right, hsl(253, 40%, 54%), hsl(253, 40%, 34%))
hex
background-color: #6F5BB9;
tailwind
bg-[hsl(253,40%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(253, 40%, 54%, 0.4);
css variable
--color-primary: hsl(253, 40%, 54%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(253, 40%, 54%)?
HEX: #6F5BB9 | RGB: rgb(111, 91, 185) | CMYK: 40%, 51%, 0%, 27% | HSV: 253°, 51%, 73%. Copy any format from the conversion table above.
What colors go well with #6F5BB9?
The complementary color is HSL(73, 40%, 54%). For a triadic harmony, use hues 253°, 13°, and 133°. For analogous combinations, try hues 223° and 283°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(253, 40%, 54%) in CSS?
As HSL: color: hsl(253, 40%, 54%); — As HEX: color: #6F5BB9; — As RGB: color: rgb(111, 91, 185); — Tailwind CSS: bg-[hsl(253,40%,54%)] — CSS variable: --color-primary: hsl(253, 40%, 54%);