HSL(209, 40%, 53%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(209,40%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(209, 40%, 53%) | color: hsl(209, 40%, 53%) | |
| HEX | #5789B7 | color: #5789B7 | |
| RGB | rgb(87, 137, 183) | color: rgb(87, 137, 183) | |
| CMYK | cmyk(52%, 25%, 0%, 28%) | — | |
| HSV | hsv(209, 52%, 72%) | — | |
| HWB | hwb(209 35% 28%) | color: hwb(209 35% 28%) | |
| OKLCH | oklch(0.6138 0.0886 247.48) | color: oklch(0.6138 0.0886 247.48) | |
| Lab | lab(55.42 -3.55 -29.26) | color: lab(55.42 -3.55 -29.26) | |
| LCH | lch(55.42 29.47 263.08) | color: lch(55.42 29.47 263.08) |
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)
#6D6DAC — rgb(109, 109, 172)
Deuteranopia (Green-blind)
#6A66A9 — rgb(106, 102, 169)
Tritanopia (Blue-blind)
#5AA3A1 — rgb(90, 163, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(209, 40%, 53%);
text
color: hsl(209, 40%, 53%);
border
border: 2px solid hsl(209, 40%, 53%);
gradient light
background: linear-gradient(to right, hsl(209, 40%, 73%), hsl(209, 40%, 53%));
gradient dark
background: linear-gradient(to right, hsl(209, 40%, 53%), hsl(209, 40%, 33%))
hex
background-color: #5789B7;
tailwind
bg-[hsl(209,40%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(209, 40%, 53%, 0.4);
css variable
--color-primary: hsl(209, 40%, 53%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(209, 40%, 53%)?
HEX: #5789B7 | RGB: rgb(87, 137, 183) | CMYK: 52%, 25%, 0%, 28% | HSV: 209°, 52%, 72%. Copy any format from the conversion table above.
What colors go well with #5789B7?
The complementary color is HSL(29, 40%, 53%). For a triadic harmony, use hues 209°, 329°, and 89°. For analogous combinations, try hues 179° and 239°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(209, 40%, 53%) in CSS?
As HSL: color: hsl(209, 40%, 53%); — As HEX: color: #5789B7; — As RGB: color: rgb(87, 137, 183); — Tailwind CSS: bg-[hsl(209,40%,53%)] — CSS variable: --color-primary: hsl(209, 40%, 53%);