HSL(251, 38%, 56%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(251,38%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(251, 38%, 56%) color: hsl(251, 38%, 56%)
HEX #7464B9 color: #7464B9
RGB rgb(116, 100, 185) color: rgb(116, 100, 185)
CMYK cmyk(37%, 46%, 0%, 27%)
HSV hsv(251, 46%, 73%)
HWB hwb(251 39% 27%) color: hwb(251 39% 27%)
OKLCH oklch(0.5572 0.1288 290.23) color: oklch(0.5572 0.1288 290.23)
Lab lab(47.4 26.63 -42.86) color: lab(47.4 26.63 -42.86)
LCH lch(47.4 50.46 301.85) color: lch(47.4 50.46 301.85)

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.92:1
vs Black 4.27: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)

#6D6DA4 — rgb(109, 109, 164)

Deuteranopia (Green-blind)

#6E6FA0 — rgb(110, 111, 160)

Tritanopia (Blue-blind)

#739491 — rgb(115, 148, 145)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(251, 38%, 56%);

text

color: hsl(251, 38%, 56%);

border

border: 2px solid hsl(251, 38%, 56%);

gradient light

background: linear-gradient(to right, hsl(251, 38%, 76%), hsl(251, 38%, 56%));

gradient dark

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

hex

background-color: #7464B9;

tailwind

bg-[hsl(251,38%,56%)]

box shadow

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

css variable

--color-primary: hsl(251, 38%, 56%);

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, 38%, 56%)?

HEX: #7464B9 | RGB: rgb(116, 100, 185) | CMYK: 37%, 46%, 0%, 27% | HSV: 251°, 46%, 73%. Copy any format from the conversion table above.

What colors go well with #7464B9?

The complementary color is HSL(71, 38%, 56%). 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, 38%, 56%) in CSS?

As HSL: color: hsl(251, 38%, 56%); — As HEX: color: #7464B9; — As RGB: color: rgb(116, 100, 185); — Tailwind CSS: bg-[hsl(251,38%,56%)] — CSS variable: --color-primary: hsl(251, 38%, 56%);