HSL(228, 20%, 60%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(228,20%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(228, 20%, 60%) | color: hsl(228, 20%, 60%) | |
| HEX | #858DAD | color: #858DAD | |
| RGB | rgb(133, 141, 173) | color: rgb(133, 141, 173) | |
| CMYK | cmyk(23%, 18%, 0%, 32%) | — | |
| HSV | hsv(228, 23%, 68%) | — | |
| HWB | hwb(228 52% 32%) | color: hwb(228 52% 32%) | |
| OKLCH | oklch(0.6482 0.0487 273.98) | color: oklch(0.6482 0.0487 273.98) | |
| Lab | lab(59.02 4.24 -17.77) | color: lab(59.02 4.24 -17.77) | |
| LCH | lch(59.02 18.27 283.42) | color: lch(59.02 18.27 283.42) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8889A5 — rgb(136, 137, 165)
Deuteranopia (Green-blind)
#8887A3 — rgb(136, 135, 163)
Tritanopia (Blue-blind)
#859F9E — rgb(133, 159, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(228, 20%, 60%);
text
color: hsl(228, 20%, 60%);
border
border: 2px solid hsl(228, 20%, 60%);
gradient light
background: linear-gradient(to right, hsl(228, 20%, 80%), hsl(228, 20%, 60%));
gradient dark
background: linear-gradient(to right, hsl(228, 20%, 60%), hsl(228, 20%, 40%))
hex
background-color: #858DAD;
tailwind
bg-[hsl(228,20%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(228, 20%, 60%, 0.4);
css variable
--color-primary: hsl(228, 20%, 60%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(228, 20%, 60%)?
HEX: #858DAD | RGB: rgb(133, 141, 173) | CMYK: 23%, 18%, 0%, 32% | HSV: 228°, 23%, 68%. Copy any format from the conversion table above.
What colors go well with #858DAD?
The complementary color is HSL(48, 20%, 60%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(228, 20%, 60%) in CSS?
As HSL: color: hsl(228, 20%, 60%); — As HEX: color: #858DAD; — As RGB: color: rgb(133, 141, 173); — Tailwind CSS: bg-[hsl(228,20%,60%)] — CSS variable: --color-primary: hsl(228, 20%, 60%);