HSL(207, 30%, 49%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(207,30%,49%)]

Color Conversions

Format Value CSS Usage
HSL hsl(207, 30%, 49%) color: hsl(207, 30%, 49%)
HEX #5781A2 color: #5781A2
RGB rgb(87, 129, 162) color: rgb(87, 129, 162)
CMYK cmyk(46%, 20%, 0%, 36%)
HSV hsv(206, 46%, 64%)
HWB hwb(206 35% 36%) color: hwb(206 35% 36%)
OKLCH oklch(0.5857 0.069 242.99) color: oklch(0.5857 0.069 242.99)
Lab lab(52.21 -5.3 -22.13) color: lab(52.21 -5.3 -22.13)
LCH lch(52.21 22.76 256.53) color: lch(52.21 22.76 256.53)

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.14:1
vs Black 5.07: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)

#696A9A — rgb(105, 106, 154)

Deuteranopia (Green-blind)

#676498 — rgb(103, 100, 152)

Tritanopia (Blue-blind)

#599492 — rgb(89, 148, 146)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(207, 30%, 49%);

text

color: hsl(207, 30%, 49%);

border

border: 2px solid hsl(207, 30%, 49%);

gradient light

background: linear-gradient(to right, hsl(207, 30%, 69%), hsl(207, 30%, 49%));

gradient dark

background: linear-gradient(to right, hsl(207, 30%, 49%), hsl(207, 30%, 29%))

hex

background-color: #5781A2;

tailwind

bg-[hsl(207,30%,49%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(207, 30%, 49%, 0.4);

css variable

--color-primary: hsl(207, 30%, 49%);

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(207, 30%, 49%)?

HEX: #5781A2 | RGB: rgb(87, 129, 162) | CMYK: 46%, 20%, 0%, 36% | HSV: 206°, 46%, 64%. Copy any format from the conversion table above.

What colors go well with #5781A2?

The complementary color is HSL(27, 30%, 49%). For a triadic harmony, use hues 207°, 327°, and 87°. For analogous combinations, try hues 177° and 237°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(207, 30%, 49%) in CSS?

As HSL: color: hsl(207, 30%, 49%); — As HEX: color: #5781A2; — As RGB: color: rgb(87, 129, 162); — Tailwind CSS: bg-[hsl(207,30%,49%)] — CSS variable: --color-primary: hsl(207, 30%, 49%);