HSL(222, 57%, 60%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(222,57%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(222, 57%, 60%) | color: hsl(222, 57%, 60%) | |
| HEX | #5F82D3 | color: #5F82D3 | |
| RGB | rgb(95, 130, 211) | color: rgb(95, 130, 211) | |
| CMYK | cmyk(55%, 38%, 0%, 17%) | — | |
| HSV | hsv(222, 55%, 83%) | — | |
| HWB | hwb(222 37% 17%) | color: hwb(222 37% 17%) | |
| OKLCH | oklch(0.6173 0.1294 265.17) | color: oklch(0.6173 0.1294 265.17) | |
| Lab | lab(55.17 11.23 -45.5) | color: lab(55.17 11.23 -45.5) | |
| LCH | lch(55.17 46.87 283.86) | color: lch(55.17 46.87 283.86) |
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)
#6E6EBF — rgb(110, 110, 191)
Deuteranopia (Green-blind)
#6C6ABB — rgb(108, 106, 187)
Tritanopia (Blue-blind)
#61B0AD — rgb(97, 176, 173)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(222, 57%, 60%);
text
color: hsl(222, 57%, 60%);
border
border: 2px solid hsl(222, 57%, 60%);
gradient light
background: linear-gradient(to right, hsl(222, 57%, 80%), hsl(222, 57%, 60%));
gradient dark
background: linear-gradient(to right, hsl(222, 57%, 60%), hsl(222, 57%, 40%))
hex
background-color: #5F82D3;
tailwind
bg-[hsl(222,57%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(222, 57%, 60%, 0.4);
css variable
--color-primary: hsl(222, 57%, 60%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(222, 57%, 60%)?
HEX: #5F82D3 | RGB: rgb(95, 130, 211) | CMYK: 55%, 38%, 0%, 17% | HSV: 222°, 55%, 83%. Copy any format from the conversion table above.
What colors go well with #5F82D3?
The complementary color is HSL(42, 57%, 60%). For a triadic harmony, use hues 222°, 342°, and 102°. For analogous combinations, try hues 192° and 252°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(222, 57%, 60%) in CSS?
As HSL: color: hsl(222, 57%, 60%); — As HEX: color: #5F82D3; — As RGB: color: rgb(95, 130, 211); — Tailwind CSS: bg-[hsl(222,57%,60%)] — CSS variable: --color-primary: hsl(222, 57%, 60%);