HSL(251, 24%, 36%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(251,24%,36%)]

Color Conversions

Format Value CSS Usage
HSL hsl(251, 24%, 36%) color: hsl(251, 24%, 36%)
HEX #4E4672 color: #4E4672
RGB rgb(78, 70, 114) color: rgb(78, 70, 114)
CMYK cmyk(32%, 39%, 0%, 55%)
HSV hsv(251, 39%, 45%)
HWB hwb(251 27% 55%) color: hwb(251 27% 55%)
OKLCH oklch(0.4219 0.0723 291.32) color: oklch(0.4219 0.0723 291.32)
Lab lab(32.29 14.29 -24.15) color: lab(32.29 14.29 -24.15)
LCH lch(32.29 28.06 300.61) color: lch(32.29 28.06 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 8.6:1
vs Black 2.44:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#4B4A67 — rgb(75, 74, 103)

Deuteranopia (Green-blind)

#4B4C65 — rgb(75, 76, 101)

Tritanopia (Blue-blind)

#4E5F5D — rgb(78, 95, 93)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(251, 24%, 36%);

text

color: hsl(251, 24%, 36%);

border

border: 2px solid hsl(251, 24%, 36%);

gradient light

background: linear-gradient(to right, hsl(251, 24%, 56%), hsl(251, 24%, 36%));

gradient dark

background: linear-gradient(to right, hsl(251, 24%, 36%), hsl(251, 24%, 16%))

hex

background-color: #4E4672;

tailwind

bg-[hsl(251,24%,36%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(251, 24%, 36%, 0.4);

css variable

--color-primary: hsl(251, 24%, 36%);

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(251, 24%, 36%)?

HEX: #4E4672 | RGB: rgb(78, 70, 114) | CMYK: 32%, 39%, 0%, 55% | HSV: 251°, 39%, 45%. Copy any format from the conversion table above.

What colors go well with #4E4672?

The complementary color is HSL(71, 24%, 36%). For a triadic harmony, use hues 251°, 11°, and 131°. For analogous combinations, try hues 221° and 281°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(251, 24%, 36%) in CSS?

As HSL: color: hsl(251, 24%, 36%); — As HEX: color: #4E4672; — As RGB: color: rgb(78, 70, 114); — Tailwind CSS: bg-[hsl(251,24%,36%)] — CSS variable: --color-primary: hsl(251, 24%, 36%);