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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 4.32:1
vs Black 4.86:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Corporate branding Trust signals Tech products Social media Primary buttons

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%);