HSL(252, 19%, 46%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(252,19%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(252, 19%, 46%) color: hsl(252, 19%, 46%)
HEX #685F8C color: #685F8C
RGB rgb(104, 95, 140) color: rgb(104, 95, 140)
CMYK cmyk(26%, 32%, 0%, 45%)
HSV hsv(252, 32%, 55%)
HWB hwb(252 37% 45%) color: hwb(252 37% 45%)
OKLCH oklch(0.5122 0.0709 292.9) color: oklch(0.5122 0.0709 292.9)
Lab lab(42.79 13.95 -23.58) color: lab(42.79 13.95 -23.58)
LCH lch(42.79 27.4 300.61) color: lch(42.79 27.4 300.61)

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 5.83:1
vs Black 3.6: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)

#646481 — rgb(100, 100, 129)

Deuteranopia (Green-blind)

#65657F — rgb(101, 101, 127)

Tritanopia (Blue-blind)

#687977 — rgb(104, 121, 119)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(252, 19%, 46%);

text

color: hsl(252, 19%, 46%);

border

border: 2px solid hsl(252, 19%, 46%);

gradient light

background: linear-gradient(to right, hsl(252, 19%, 66%), hsl(252, 19%, 46%));

gradient dark

background: linear-gradient(to right, hsl(252, 19%, 46%), hsl(252, 19%, 26%))

hex

background-color: #685F8C;

tailwind

bg-[hsl(252,19%,46%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(252, 19%, 46%, 0.4);

css variable

--color-primary: hsl(252, 19%, 46%);

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(252, 19%, 46%)?

HEX: #685F8C | RGB: rgb(104, 95, 140) | CMYK: 26%, 32%, 0%, 45% | HSV: 252°, 32%, 55%. Copy any format from the conversion table above.

What colors go well with #685F8C?

The complementary color is HSL(72, 19%, 46%). For a triadic harmony, use hues 252°, 12°, and 132°. For analogous combinations, try hues 222° and 282°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(252, 19%, 46%) in CSS?

As HSL: color: hsl(252, 19%, 46%); — As HEX: color: #685F8C; — As RGB: color: rgb(104, 95, 140); — Tailwind CSS: bg-[hsl(252,19%,46%)] — CSS variable: --color-primary: hsl(252, 19%, 46%);