HSL(245, 41%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(245,41%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(245, 41%, 55%) | color: hsl(245, 41%, 55%) | |
| HEX | #655DBB | color: #655DBB | |
| RGB | rgb(101, 93, 187) | color: rgb(101, 93, 187) | |
| CMYK | cmyk(46%, 50%, 0%, 27%) | — | |
| HSV | hsv(245, 50%, 73%) | — | |
| HWB | hwb(245 37% 27%) | color: hwb(245 37% 27%) | |
| OKLCH | oklch(0.5326 0.143 284.29) | color: oklch(0.5326 0.143 284.29) | |
| Lab | lab(44.49 27.7 -48.74) | color: lab(44.49 27.7 -48.74) | |
| LCH | lch(44.49 56.06 299.61) | color: lch(44.49 56.06 299.61) |
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)
#6261A4 — rgb(98, 97, 164)
Deuteranopia (Green-blind)
#62639F — rgb(98, 99, 159)
Tritanopia (Blue-blind)
#65928E — rgb(101, 146, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(245, 41%, 55%);
text
color: hsl(245, 41%, 55%);
border
border: 2px solid hsl(245, 41%, 55%);
gradient light
background: linear-gradient(to right, hsl(245, 41%, 75%), hsl(245, 41%, 55%));
gradient dark
background: linear-gradient(to right, hsl(245, 41%, 55%), hsl(245, 41%, 35%))
hex
background-color: #655DBB;
tailwind
bg-[hsl(245,41%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(245, 41%, 55%, 0.4);
css variable
--color-primary: hsl(245, 41%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(245, 41%, 55%)?
HEX: #655DBB | RGB: rgb(101, 93, 187) | CMYK: 46%, 50%, 0%, 27% | HSV: 245°, 50%, 73%. Copy any format from the conversion table above.
What colors go well with #655DBB?
The complementary color is HSL(65, 41%, 55%). For a triadic harmony, use hues 245°, 5°, and 125°. For analogous combinations, try hues 215° and 275°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(245, 41%, 55%) in CSS?
As HSL: color: hsl(245, 41%, 55%); — As HEX: color: #655DBB; — As RGB: color: rgb(101, 93, 187); — Tailwind CSS: bg-[hsl(245,41%,55%)] — CSS variable: --color-primary: hsl(245, 41%, 55%);