HSL(231, 59%, 52%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(231,59%,52%)]

Color Conversions

Format Value CSS Usage
HSL hsl(231, 59%, 52%) color: hsl(231, 59%, 52%)
HEX #3C52CD color: #3C52CD
RGB rgb(60, 82, 205) color: rgb(60, 82, 205)
CMYK cmyk(71%, 60%, 0%, 20%)
HSV hsv(231, 71%, 80%)
HWB hwb(231 23% 20%) color: hwb(231 23% 20%)
OKLCH oklch(0.4978 0.1909 270.15) color: oklch(0.4978 0.1909 270.15)
Lab lab(40.25 33.03 -66.17) color: lab(40.25 33.03 -66.17)
LCH lch(40.25 73.96 296.53) color: lch(40.25 73.96 296.53)

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 6.4:1
vs Black 3.28: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)

#4646AF — rgb(70, 70, 175)

Deuteranopia (Green-blind)

#4443A8 — rgb(68, 67, 168)

Tritanopia (Blue-blind)

#3D9893 — rgb(61, 152, 147)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(231, 59%, 52%);

text

color: hsl(231, 59%, 52%);

border

border: 2px solid hsl(231, 59%, 52%);

gradient light

background: linear-gradient(to right, hsl(231, 59%, 72%), hsl(231, 59%, 52%));

gradient dark

background: linear-gradient(to right, hsl(231, 59%, 52%), hsl(231, 59%, 32%))

hex

background-color: #3C52CD;

tailwind

bg-[hsl(231,59%,52%)]

box shadow

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

css variable

--color-primary: hsl(231, 59%, 52%);

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(231, 59%, 52%)?

HEX: #3C52CD | RGB: rgb(60, 82, 205) | CMYK: 71%, 60%, 0%, 20% | HSV: 231°, 71%, 80%. Copy any format from the conversion table above.

What colors go well with #3C52CD?

The complementary color is HSL(51, 59%, 52%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(231, 59%, 52%) in CSS?

As HSL: color: hsl(231, 59%, 52%); — As HEX: color: #3C52CD; — As RGB: color: rgb(60, 82, 205); — Tailwind CSS: bg-[hsl(231,59%,52%)] — CSS variable: --color-primary: hsl(231, 59%, 52%);