HSL(239, 70%, 54%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(239,70%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(239, 70%, 54%) color: hsl(239, 70%, 54%)
HEX #383ADC color: #383ADC
RGB rgb(56, 58, 220) color: rgb(56, 58, 220)
CMYK cmyk(75%, 74%, 0%, 14%)
HSV hsv(239, 75%, 86%)
HWB hwb(239 22% 14%) color: hwb(239 22% 14%)
OKLCH oklch(0.4708 0.2367 272.14) color: oklch(0.4708 0.2367 272.14)
Lab lab(36.05 52.07 -81.71) color: lab(36.05 52.07 -81.71)
LCH lch(36.05 96.89 302.51) color: lch(36.05 96.89 302.51)

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 7.48:1
vs Black 2.81: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)

#3939B5 — rgb(57, 57, 181)

Deuteranopia (Green-blind)

#3939AB — rgb(57, 57, 171)

Tritanopia (Blue-blind)

#38968F — rgb(56, 150, 143)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(239, 70%, 54%);

text

color: hsl(239, 70%, 54%);

border

border: 2px solid hsl(239, 70%, 54%);

gradient light

background: linear-gradient(to right, hsl(239, 70%, 74%), hsl(239, 70%, 54%));

gradient dark

background: linear-gradient(to right, hsl(239, 70%, 54%), hsl(239, 70%, 34%))

hex

background-color: #383ADC;

tailwind

bg-[hsl(239,70%,54%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(239, 70%, 54%, 0.4);

css variable

--color-primary: hsl(239, 70%, 54%);

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(239, 70%, 54%)?

HEX: #383ADC | RGB: rgb(56, 58, 220) | CMYK: 75%, 74%, 0%, 14% | HSV: 239°, 75%, 86%. Copy any format from the conversion table above.

What colors go well with #383ADC?

The complementary color is HSL(59, 70%, 54%). For a triadic harmony, use hues 239°, 359°, and 119°. For analogous combinations, try hues 209° and 269°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(239, 70%, 54%) in CSS?

As HSL: color: hsl(239, 70%, 54%); — As HEX: color: #383ADC; — As RGB: color: rgb(56, 58, 220); — Tailwind CSS: bg-[hsl(239,70%,54%)] — CSS variable: --color-primary: hsl(239, 70%, 54%);