HSL(232, 16%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(232,16%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(232, 16%, 40%) | color: hsl(232, 16%, 40%) | |
| HEX | #565A76 | color: #565A76 | |
| RGB | rgb(86, 90, 118) | color: rgb(86, 90, 118) | |
| CMYK | cmyk(27%, 24%, 0%, 54%) | — | |
| HSV | hsv(233, 27%, 46%) | — | |
| HWB | hwb(233 34% 54%) | color: hwb(233 34% 54%) | |
| OKLCH | oklch(0.4752 0.0455 278.19) | color: oklch(0.4752 0.0455 278.19) | |
| Lab | lab(38.9 5.28 -16.35) | color: lab(38.9 5.28 -16.35) | |
| LCH | lch(38.9 17.18 287.9) | color: lch(38.9 17.18 287.9) |
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)
#58586F — rgb(88, 88, 111)
Deuteranopia (Green-blind)
#58576E — rgb(88, 87, 110)
Tritanopia (Blue-blind)
#566A69 — rgb(86, 106, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(232, 16%, 40%);
text
color: hsl(232, 16%, 40%);
border
border: 2px solid hsl(232, 16%, 40%);
gradient light
background: linear-gradient(to right, hsl(232, 16%, 60%), hsl(232, 16%, 40%));
gradient dark
background: linear-gradient(to right, hsl(232, 16%, 40%), hsl(232, 16%, 20%))
hex
background-color: #565A76;
tailwind
bg-[hsl(232,16%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(232, 16%, 40%, 0.4);
css variable
--color-primary: hsl(232, 16%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(232, 16%, 40%)?
HEX: #565A76 | RGB: rgb(86, 90, 118) | CMYK: 27%, 24%, 0%, 54% | HSV: 233°, 27%, 46%. Copy any format from the conversion table above.
What colors go well with #565A76?
The complementary color is HSL(52, 16%, 40%). For a triadic harmony, use hues 232°, 352°, and 112°. For analogous combinations, try hues 202° and 262°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(232, 16%, 40%) in CSS?
As HSL: color: hsl(232, 16%, 40%); — As HEX: color: #565A76; — As RGB: color: rgb(86, 90, 118); — Tailwind CSS: bg-[hsl(232,16%,40%)] — CSS variable: --color-primary: hsl(232, 16%, 40%);