HSL(213, 29%, 49%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(213,29%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(213, 29%, 49%) | color: hsl(213, 29%, 49%) | |
| HEX | #5979A1 | color: #5979A1 | |
| RGB | rgb(89, 121, 161) | color: rgb(89, 121, 161) | |
| CMYK | cmyk(45%, 25%, 0%, 37%) | — | |
| HSV | hsv(213, 45%, 63%) | — | |
| HWB | hwb(213 35% 37%) | color: hwb(213 35% 37%) | |
| OKLCH | oklch(0.568 0.0724 254.4) | color: oklch(0.568 0.0724 254.4) | |
| Lab | lab(49.94 -0.4 -25.04) | color: lab(49.94 -0.4 -25.04) | |
| LCH | lch(49.94 25.04 269.08) | color: lch(49.94 25.04 269.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)
#676797 — rgb(103, 103, 151)
Deuteranopia (Green-blind)
#656395 — rgb(101, 99, 149)
Tritanopia (Blue-blind)
#5B908E — rgb(91, 144, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(213, 29%, 49%);
text
color: hsl(213, 29%, 49%);
border
border: 2px solid hsl(213, 29%, 49%);
gradient light
background: linear-gradient(to right, hsl(213, 29%, 69%), hsl(213, 29%, 49%));
gradient dark
background: linear-gradient(to right, hsl(213, 29%, 49%), hsl(213, 29%, 29%))
hex
background-color: #5979A1;
tailwind
bg-[hsl(213,29%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(213, 29%, 49%, 0.4);
css variable
--color-primary: hsl(213, 29%, 49%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(213, 29%, 49%)?
HEX: #5979A1 | RGB: rgb(89, 121, 161) | CMYK: 45%, 25%, 0%, 37% | HSV: 213°, 45%, 63%. Copy any format from the conversion table above.
What colors go well with #5979A1?
The complementary color is HSL(33, 29%, 49%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(213, 29%, 49%) in CSS?
As HSL: color: hsl(213, 29%, 49%); — As HEX: color: #5979A1; — As RGB: color: rgb(89, 121, 161); — Tailwind CSS: bg-[hsl(213,29%,49%)] — CSS variable: --color-primary: hsl(213, 29%, 49%);