HSL(213, 30%, 50%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(213,30%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(213, 30%, 50%) | color: hsl(213, 30%, 50%) | |
| HEX | #597CA6 | color: #597CA6 | |
| RGB | rgb(89, 124, 166) | color: rgb(89, 124, 166) | |
| CMYK | cmyk(46%, 25%, 0%, 35%) | — | |
| HSV | hsv(213, 46%, 65%) | — | |
| HWB | hwb(213 35% 35%) | color: hwb(213 35% 35%) | |
| OKLCH | oklch(0.5772 0.0764 253.51) | color: oklch(0.5772 0.0764 253.51) | |
| Lab | lab(51.03 -0.67 -26.27) | color: lab(51.03 -0.67 -26.27) | |
| LCH | lch(51.03 26.28 268.54) | color: lch(51.03 26.28 268.54) |
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)
#68689C — rgb(104, 104, 156)
Deuteranopia (Green-blind)
#666499 — rgb(102, 100, 153)
Tritanopia (Blue-blind)
#5B9492 — rgb(91, 148, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(213, 30%, 50%);
text
color: hsl(213, 30%, 50%);
border
border: 2px solid hsl(213, 30%, 50%);
gradient light
background: linear-gradient(to right, hsl(213, 30%, 70%), hsl(213, 30%, 50%));
gradient dark
background: linear-gradient(to right, hsl(213, 30%, 50%), hsl(213, 30%, 30%))
hex
background-color: #597CA6;
tailwind
bg-[hsl(213,30%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(213, 30%, 50%, 0.4);
css variable
--color-primary: hsl(213, 30%, 50%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(213, 30%, 50%)?
HEX: #597CA6 | RGB: rgb(89, 124, 166) | CMYK: 46%, 25%, 0%, 35% | HSV: 213°, 46%, 65%. Copy any format from the conversion table above.
What colors go well with #597CA6?
The complementary color is HSL(33, 30%, 50%). 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, 30%, 50%) in CSS?
As HSL: color: hsl(213, 30%, 50%); — As HEX: color: #597CA6; — As RGB: color: rgb(89, 124, 166); — Tailwind CSS: bg-[hsl(213,30%,50%)] — CSS variable: --color-primary: hsl(213, 30%, 50%);