HSL(236, 20%, 44%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(236,20%,44%)]

Color Conversions

Format Value CSS Usage
HSL hsl(236, 20%, 44%) color: hsl(236, 20%, 44%)
HEX #5A5D87 color: #5A5D87
RGB rgb(90, 93, 135) color: rgb(90, 93, 135)
CMYK cmyk(33%, 31%, 0%, 47%)
HSV hsv(236, 33%, 53%)
HWB hwb(236 36% 47%) color: hwb(236 36% 47%)
OKLCH oklch(0.4933 0.0671 280.48) color: oklch(0.4933 0.0671 280.48)
Lab lab(40.82 9.38 -23.73) color: lab(40.82 9.38 -23.73)
LCH lch(40.82 25.52 291.57) color: lch(40.82 25.52 291.57)

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 6.27:1
vs Black 3.35:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#5B5B7D — rgb(91, 91, 125)

Deuteranopia (Green-blind)

#5B5B7A — rgb(91, 91, 122)

Tritanopia (Blue-blind)

#5A7573 — rgb(90, 117, 115)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(236, 20%, 44%);

text

color: hsl(236, 20%, 44%);

border

border: 2px solid hsl(236, 20%, 44%);

gradient light

background: linear-gradient(to right, hsl(236, 20%, 64%), hsl(236, 20%, 44%));

gradient dark

background: linear-gradient(to right, hsl(236, 20%, 44%), hsl(236, 20%, 24%))

hex

background-color: #5A5D87;

tailwind

bg-[hsl(236,20%,44%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(236, 20%, 44%, 0.4);

css variable

--color-primary: hsl(236, 20%, 44%);

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(236, 20%, 44%)?

HEX: #5A5D87 | RGB: rgb(90, 93, 135) | CMYK: 33%, 31%, 0%, 47% | HSV: 236°, 33%, 53%. Copy any format from the conversion table above.

What colors go well with #5A5D87?

The complementary color is HSL(56, 20%, 44%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(236, 20%, 44%) in CSS?

As HSL: color: hsl(236, 20%, 44%); — As HEX: color: #5A5D87; — As RGB: color: rgb(90, 93, 135); — Tailwind CSS: bg-[hsl(236,20%,44%)] — CSS variable: --color-primary: hsl(236, 20%, 44%);