HSL(241, 18%, 41%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(241,18%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(241, 18%, 41%) | color: hsl(241, 18%, 41%) | |
| HEX | #56567B | color: #56567B | |
| RGB | rgb(86, 86, 123) | color: rgb(86, 86, 123) | |
| CMYK | cmyk(30%, 30%, 0%, 52%) | — | |
| HSV | hsv(240, 30%, 48%) | — | |
| HWB | hwb(240 34% 52%) | color: hwb(240 34% 52%) | |
| OKLCH | oklch(0.4686 0.0596 283.86) | color: oklch(0.4686 0.0596 283.86) | |
| Lab | lab(37.96 9.15 -20.87) | color: lab(37.96 9.15 -20.87) | |
| LCH | lch(37.96 22.79 293.67) | color: lch(37.96 22.79 293.67) |
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)
#565672 — rgb(86, 86, 114)
Deuteranopia (Green-blind)
#565670 — rgb(86, 86, 112)
Tritanopia (Blue-blind)
#566B69 — rgb(86, 107, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(241, 18%, 41%);
text
color: hsl(241, 18%, 41%);
border
border: 2px solid hsl(241, 18%, 41%);
gradient light
background: linear-gradient(to right, hsl(241, 18%, 61%), hsl(241, 18%, 41%));
gradient dark
background: linear-gradient(to right, hsl(241, 18%, 41%), hsl(241, 18%, 21%))
hex
background-color: #56567B;
tailwind
bg-[hsl(241,18%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(241, 18%, 41%, 0.4);
css variable
--color-primary: hsl(241, 18%, 41%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(241, 18%, 41%)?
HEX: #56567B | RGB: rgb(86, 86, 123) | CMYK: 30%, 30%, 0%, 52% | HSV: 240°, 30%, 48%. Copy any format from the conversion table above.
What colors go well with #56567B?
The complementary color is HSL(61, 18%, 41%). For a triadic harmony, use hues 241°, 1°, and 121°. For analogous combinations, try hues 211° and 271°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(241, 18%, 41%) in CSS?
As HSL: color: hsl(241, 18%, 41%); — As HEX: color: #56567B; — As RGB: color: rgb(86, 86, 123); — Tailwind CSS: bg-[hsl(241,18%,41%)] — CSS variable: --color-primary: hsl(241, 18%, 41%);