HSL(233, 20%, 42%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,20%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 20%, 42%) | color: hsl(233, 20%, 42%) | |
| HEX | #565B81 | color: #565B81 | |
| RGB | rgb(86, 91, 129) | color: rgb(86, 91, 129) | |
| CMYK | cmyk(33%, 29%, 0%, 49%) | — | |
| HSV | hsv(233, 33%, 51%) | — | |
| HWB | hwb(233 34% 49%) | color: hwb(233 34% 49%) | |
| OKLCH | oklch(0.4826 0.0614 278.05) | color: oklch(0.4826 0.0614 278.05) | |
| Lab | lab(39.66 7.69 -21.91) | color: lab(39.66 7.69 -21.91) | |
| LCH | lch(39.66 23.22 289.34) | color: lch(39.66 23.22 289.34) |
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)
#585878 — rgb(88, 88, 120)
Deuteranopia (Green-blind)
#585876 — rgb(88, 88, 118)
Tritanopia (Blue-blind)
#56716F — rgb(86, 113, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 20%, 42%);
text
color: hsl(233, 20%, 42%);
border
border: 2px solid hsl(233, 20%, 42%);
gradient light
background: linear-gradient(to right, hsl(233, 20%, 62%), hsl(233, 20%, 42%));
gradient dark
background: linear-gradient(to right, hsl(233, 20%, 42%), hsl(233, 20%, 22%))
hex
background-color: #565B81;
tailwind
bg-[hsl(233,20%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 20%, 42%, 0.4);
css variable
--color-primary: hsl(233, 20%, 42%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 20%, 42%)?
HEX: #565B81 | RGB: rgb(86, 91, 129) | CMYK: 33%, 29%, 0%, 49% | HSV: 233°, 33%, 51%. Copy any format from the conversion table above.
What colors go well with #565B81?
The complementary color is HSL(53, 20%, 42%). 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, 20%, 42%) in CSS?
As HSL: color: hsl(233, 20%, 42%); — As HEX: color: #565B81; — As RGB: color: rgb(86, 91, 129); — Tailwind CSS: bg-[hsl(233,20%,42%)] — CSS variable: --color-primary: hsl(233, 20%, 42%);