HSL(217, 54%, 57%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(217,54%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(217, 54%, 57%) | color: hsl(217, 54%, 57%) | |
| HEX | #5684CD | color: #5684CD | |
| RGB | rgb(86, 132, 205) | color: rgb(86, 132, 205) | |
| CMYK | cmyk(58%, 36%, 0%, 20%) | — | |
| HSV | hsv(217, 58%, 80%) | — | |
| HWB | hwb(217 34% 20%) | color: hwb(217 34% 20%) | |
| OKLCH | oklch(0.6134 0.1224 259.29) | color: oklch(0.6134 0.1224 259.29) | |
| Lab | lab(54.96 6.21 -42.49) | color: lab(54.96 6.21 -42.49) | |
| LCH | lch(54.96 42.94 278.32) | color: lch(54.96 42.94 278.32) |
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)
#6A6ABB — rgb(106, 106, 187)
Deuteranopia (Green-blind)
#6764B7 — rgb(103, 100, 183)
Tritanopia (Blue-blind)
#58ADAA — rgb(88, 173, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(217, 54%, 57%);
text
color: hsl(217, 54%, 57%);
border
border: 2px solid hsl(217, 54%, 57%);
gradient light
background: linear-gradient(to right, hsl(217, 54%, 77%), hsl(217, 54%, 57%));
gradient dark
background: linear-gradient(to right, hsl(217, 54%, 57%), hsl(217, 54%, 37%))
hex
background-color: #5684CD;
tailwind
bg-[hsl(217,54%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(217, 54%, 57%, 0.4);
css variable
--color-primary: hsl(217, 54%, 57%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(217, 54%, 57%)?
HEX: #5684CD | RGB: rgb(86, 132, 205) | CMYK: 58%, 36%, 0%, 20% | HSV: 217°, 58%, 80%. Copy any format from the conversion table above.
What colors go well with #5684CD?
The complementary color is HSL(37, 54%, 57%). For a triadic harmony, use hues 217°, 337°, and 97°. For analogous combinations, try hues 187° and 247°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(217, 54%, 57%) in CSS?
As HSL: color: hsl(217, 54%, 57%); — As HEX: color: #5684CD; — As RGB: color: rgb(86, 132, 205); — Tailwind CSS: bg-[hsl(217,54%,57%)] — CSS variable: --color-primary: hsl(217, 54%, 57%);