HSL(253, 60%, 33%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(253,60%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(253, 60%, 33%) color: hsl(253, 60%, 33%)
HEX #382287 color: #382287
RGB rgb(56, 34, 135) color: rgb(56, 34, 135)
CMYK cmyk(59%, 75%, 0%, 47%)
HSV hsv(253, 75%, 53%)
HWB hwb(253 13% 47%) color: hwb(253 13% 47%)
OKLCH oklch(0.351 0.1572 284.9) color: oklch(0.351 0.1572 284.9)
Lab lab(22.77 38.14 -52.77) color: lab(22.77 38.14 -52.77)
LCH lch(22.77 65.11 305.86) color: lch(22.77 65.11 305.86)

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.02:1
vs Black 1.75: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)

#2E2E6F — rgb(46, 46, 111)

Deuteranopia (Green-blind)

#303169 — rgb(48, 49, 105)

Tritanopia (Blue-blind)

#375B57 — rgb(55, 91, 87)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(253, 60%, 33%);

text

color: hsl(253, 60%, 33%);

border

border: 2px solid hsl(253, 60%, 33%);

gradient light

background: linear-gradient(to right, hsl(253, 60%, 53%), hsl(253, 60%, 33%));

gradient dark

background: linear-gradient(to right, hsl(253, 60%, 33%), hsl(253, 60%, 13%))

hex

background-color: #382287;

tailwind

bg-[hsl(253,60%,33%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(253, 60%, 33%, 0.4);

css variable

--color-primary: hsl(253, 60%, 33%);

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(253, 60%, 33%)?

HEX: #382287 | RGB: rgb(56, 34, 135) | CMYK: 59%, 75%, 0%, 47% | HSV: 253°, 75%, 53%. Copy any format from the conversion table above.

What colors go well with #382287?

The complementary color is HSL(73, 60%, 33%). For a triadic harmony, use hues 253°, 13°, and 133°. For analogous combinations, try hues 223° and 283°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(253, 60%, 33%) in CSS?

As HSL: color: hsl(253, 60%, 33%); — As HEX: color: #382287; — As RGB: color: rgb(56, 34, 135); — Tailwind CSS: bg-[hsl(253,60%,33%)] — CSS variable: --color-primary: hsl(253, 60%, 33%);