HSL(249, 40%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(249,40%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(249, 40%, 55%) | color: hsl(249, 40%, 55%) | |
| HEX | #6C5EBA | color: #6C5EBA | |
| RGB | rgb(108, 94, 186) | color: rgb(108, 94, 186) | |
| CMYK | cmyk(42%, 49%, 0%, 27%) | — | |
| HSV | hsv(249, 49%, 73%) | — | |
| HWB | hwb(249 37% 27%) | color: hwb(249 37% 27%) | |
| OKLCH | oklch(0.5397 0.1395 287.77) | color: oklch(0.5397 0.1395 287.77) | |
| Lab | lab(45.27 28.49 -46.87) | color: lab(45.27 28.49 -46.87) | |
| LCH | lch(45.27 54.85 301.29) | color: lch(45.27 54.85 301.29) |
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)
#6666A4 — rgb(102, 102, 164)
Deuteranopia (Green-blind)
#67689E — rgb(103, 104, 158)
Tritanopia (Blue-blind)
#6B928E — rgb(107, 146, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(249, 40%, 55%);
text
color: hsl(249, 40%, 55%);
border
border: 2px solid hsl(249, 40%, 55%);
gradient light
background: linear-gradient(to right, hsl(249, 40%, 75%), hsl(249, 40%, 55%));
gradient dark
background: linear-gradient(to right, hsl(249, 40%, 55%), hsl(249, 40%, 35%))
hex
background-color: #6C5EBA;
tailwind
bg-[hsl(249,40%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(249, 40%, 55%, 0.4);
css variable
--color-primary: hsl(249, 40%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(249, 40%, 55%)?
HEX: #6C5EBA | RGB: rgb(108, 94, 186) | CMYK: 42%, 49%, 0%, 27% | HSV: 249°, 49%, 73%. Copy any format from the conversion table above.
What colors go well with #6C5EBA?
The complementary color is HSL(69, 40%, 55%). For a triadic harmony, use hues 249°, 9°, and 129°. For analogous combinations, try hues 219° and 279°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(249, 40%, 55%) in CSS?
As HSL: color: hsl(249, 40%, 55%); — As HEX: color: #6C5EBA; — As RGB: color: rgb(108, 94, 186); — Tailwind CSS: bg-[hsl(249,40%,55%)] — CSS variable: --color-primary: hsl(249, 40%, 55%);