HSL(234, 49%, 39%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(234,49%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(234, 49%, 39%) color: hsl(234, 49%, 39%)
HEX #333C94 color: #333C94
RGB rgb(51, 60, 148) color: rgb(51, 60, 148)
CMYK cmyk(66%, 59%, 0%, 42%)
HSV hsv(234, 66%, 58%)
HWB hwb(234 20% 42%) color: hwb(234 20% 42%)
OKLCH oklch(0.4031 0.1433 273.66) color: oklch(0.4031 0.1433 273.66)
Lab lab(29.6 25.51 -49.69) color: lab(29.6 25.51 -49.69)
LCH lch(29.6 55.86 297.18) color: lch(29.6 55.86 297.18)

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.48:1
vs Black 2.21: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)

#37377F — rgb(55, 55, 127)

Deuteranopia (Green-blind)

#36367A — rgb(54, 54, 122)

Tritanopia (Blue-blind)

#336E6A — rgb(51, 110, 106)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(234, 49%, 39%);

text

color: hsl(234, 49%, 39%);

border

border: 2px solid hsl(234, 49%, 39%);

gradient light

background: linear-gradient(to right, hsl(234, 49%, 59%), hsl(234, 49%, 39%));

gradient dark

background: linear-gradient(to right, hsl(234, 49%, 39%), hsl(234, 49%, 19%))

hex

background-color: #333C94;

tailwind

bg-[hsl(234,49%,39%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(234, 49%, 39%, 0.4);

css variable

--color-primary: hsl(234, 49%, 39%);

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(234, 49%, 39%)?

HEX: #333C94 | RGB: rgb(51, 60, 148) | CMYK: 66%, 59%, 0%, 42% | HSV: 234°, 66%, 58%. Copy any format from the conversion table above.

What colors go well with #333C94?

The complementary color is HSL(54, 49%, 39%). For a triadic harmony, use hues 234°, 354°, and 114°. For analogous combinations, try hues 204° and 264°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(234, 49%, 39%) in CSS?

As HSL: color: hsl(234, 49%, 39%); — As HEX: color: #333C94; — As RGB: color: rgb(51, 60, 148); — Tailwind CSS: bg-[hsl(234,49%,39%)] — CSS variable: --color-primary: hsl(234, 49%, 39%);