HSL(210, 25%, 59%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(210,25%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(210, 25%, 59%) color: hsl(210, 25%, 59%)
HEX #7C96B1 color: #7C96B1
RGB rgb(124, 150, 177) color: rgb(124, 150, 177)
CMYK cmyk(30%, 15%, 0%, 31%)
HSV hsv(211, 30%, 69%)
HWB hwb(211 48% 31%) color: hwb(211 48% 31%)
OKLCH oklch(0.6628 0.0499 249.56) color: oklch(0.6628 0.0499 249.56)
Lab lab(61.02 -2.68 -17.07) color: lab(61.02 -2.68 -17.07)
LCH lch(61.02 17.28 261.08) color: lch(61.02 17.28 261.08)

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 3.06:1
vs Black 6.85: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)

#8787AA — rgb(135, 135, 170)

Deuteranopia (Green-blind)

#8684A9 — rgb(134, 132, 169)

Tritanopia (Blue-blind)

#7DA5A4 — rgb(125, 165, 164)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(210, 25%, 59%);

text

color: hsl(210, 25%, 59%);

border

border: 2px solid hsl(210, 25%, 59%);

gradient light

background: linear-gradient(to right, hsl(210, 25%, 79%), hsl(210, 25%, 59%));

gradient dark

background: linear-gradient(to right, hsl(210, 25%, 59%), hsl(210, 25%, 39%))

hex

background-color: #7C96B1;

tailwind

bg-[hsl(210,25%,59%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(210, 25%, 59%, 0.4);

css variable

--color-primary: hsl(210, 25%, 59%);

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(210, 25%, 59%)?

HEX: #7C96B1 | RGB: rgb(124, 150, 177) | CMYK: 30%, 15%, 0%, 31% | HSV: 211°, 30%, 69%. Copy any format from the conversion table above.

What colors go well with #7C96B1?

The complementary color is HSL(30, 25%, 59%). For a triadic harmony, use hues 210°, 330°, and 90°. For analogous combinations, try hues 180° and 240°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(210, 25%, 59%) in CSS?

As HSL: color: hsl(210, 25%, 59%); — As HEX: color: #7C96B1; — As RGB: color: rgb(124, 150, 177); — Tailwind CSS: bg-[hsl(210,25%,59%)] — CSS variable: --color-primary: hsl(210, 25%, 59%);