HSL(251, 37%, 27%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(251,37%,27%)]

Color Conversions

Format Value CSS Usage
HSL hsl(251, 37%, 27%) color: hsl(251, 37%, 27%)
HEX #352B5E color: #352B5E
RGB rgb(53, 43, 94) color: rgb(53, 43, 94)
CMYK cmyk(44%, 54%, 0%, 63%)
HSV hsv(252, 54%, 37%)
HWB hwb(252 17% 63%) color: hwb(252 17% 63%)
OKLCH oklch(0.3281 0.0874 289.72) color: oklch(0.3281 0.0874 289.72)
Lab lab(21.18 18.62 -29.03) color: lab(21.18 18.62 -29.03)
LCH lch(21.18 34.49 302.68) color: lch(21.18 34.49 302.68)

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 12.66:1
vs Black 1.66: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)

#313152 — rgb(49, 49, 82)

Deuteranopia (Green-blind)

#31324F — rgb(49, 50, 79)

Tritanopia (Blue-blind)

#354846 — rgb(53, 72, 70)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(251, 37%, 27%);

text

color: hsl(251, 37%, 27%);

border

border: 2px solid hsl(251, 37%, 27%);

gradient light

background: linear-gradient(to right, hsl(251, 37%, 47%), hsl(251, 37%, 27%));

gradient dark

background: linear-gradient(to right, hsl(251, 37%, 27%), hsl(251, 37%, 7%))

hex

background-color: #352B5E;

tailwind

bg-[hsl(251,37%,27%)]

box shadow

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

css variable

--color-primary: hsl(251, 37%, 27%);

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, 37%, 27%)?

HEX: #352B5E | RGB: rgb(53, 43, 94) | CMYK: 44%, 54%, 0%, 63% | HSV: 252°, 54%, 37%. Copy any format from the conversion table above.

What colors go well with #352B5E?

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

As HSL: color: hsl(251, 37%, 27%); — As HEX: color: #352B5E; — As RGB: color: rgb(53, 43, 94); — Tailwind CSS: bg-[hsl(251,37%,27%)] — CSS variable: --color-primary: hsl(251, 37%, 27%);