HSL(228, 41%, 33%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(228,41%,33%)]

Color Conversions

Format Value CSS Usage
HSL hsl(228, 41%, 33%) color: hsl(228, 41%, 33%)
HEX #323F77 color: #323F77
RGB rgb(50, 63, 119) color: rgb(50, 63, 119)
CMYK cmyk(58%, 47%, 0%, 53%)
HSV hsv(229, 58%, 47%)
HWB hwb(229 20% 53%) color: hwb(229 20% 53%)
OKLCH oklch(0.3865 0.0962 271.43) color: oklch(0.3865 0.0962 271.43)
Lab lab(28.29 12.75 -33.78) color: lab(28.29 12.75 -33.78)
LCH lch(28.29 36.11 290.68) color: lch(28.29 36.11 290.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 9.94:1
vs Black 2.11: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)

#383869 — rgb(56, 56, 105)

Deuteranopia (Green-blind)

#373666 — rgb(55, 54, 102)

Tritanopia (Blue-blind)

#335F5C — rgb(51, 95, 92)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(228, 41%, 33%);

text

color: hsl(228, 41%, 33%);

border

border: 2px solid hsl(228, 41%, 33%);

gradient light

background: linear-gradient(to right, hsl(228, 41%, 53%), hsl(228, 41%, 33%));

gradient dark

background: linear-gradient(to right, hsl(228, 41%, 33%), hsl(228, 41%, 13%))

hex

background-color: #323F77;

tailwind

bg-[hsl(228,41%,33%)]

box shadow

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

css variable

--color-primary: hsl(228, 41%, 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(228, 41%, 33%)?

HEX: #323F77 | RGB: rgb(50, 63, 119) | CMYK: 58%, 47%, 0%, 53% | HSV: 229°, 58%, 47%. Copy any format from the conversion table above.

What colors go well with #323F77?

The complementary color is HSL(48, 41%, 33%). For a triadic harmony, use hues 228°, 348°, and 108°. For analogous combinations, try hues 198° and 258°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(228, 41%, 33%) in CSS?

As HSL: color: hsl(228, 41%, 33%); — As HEX: color: #323F77; — As RGB: color: rgb(50, 63, 119); — Tailwind CSS: bg-[hsl(228,41%,33%)] — CSS variable: --color-primary: hsl(228, 41%, 33%);