HSL(236, 71%, 54%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(236,71%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(236, 71%, 54%) color: hsl(236, 71%, 54%)
HEX #3642DD color: #3642DD
RGB rgb(54, 66, 221) color: rgb(54, 66, 221)
CMYK cmyk(76%, 70%, 0%, 13%)
HSV hsv(236, 76%, 87%)
HWB hwb(236 21% 13%) color: hwb(236 21% 13%)
OKLCH oklch(0.4823 0.2305 270.76) color: oklch(0.4823 0.2305 270.76)
Lab lab(37.66 47.72 -79.63) color: lab(37.66 47.72 -79.63)
LCH lch(37.66 92.83 300.93) color: lch(37.66 92.83 300.93)

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.05:1
vs Black 2.98: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)

#3B3BB7 — rgb(59, 59, 183)

Deuteranopia (Green-blind)

#3B3AAF — rgb(59, 58, 175)

Tritanopia (Blue-blind)

#379A93 — rgb(55, 154, 147)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(236, 71%, 54%);

text

color: hsl(236, 71%, 54%);

border

border: 2px solid hsl(236, 71%, 54%);

gradient light

background: linear-gradient(to right, hsl(236, 71%, 74%), hsl(236, 71%, 54%));

gradient dark

background: linear-gradient(to right, hsl(236, 71%, 54%), hsl(236, 71%, 34%))

hex

background-color: #3642DD;

tailwind

bg-[hsl(236,71%,54%)]

box shadow

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

css variable

--color-primary: hsl(236, 71%, 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(236, 71%, 54%)?

HEX: #3642DD | RGB: rgb(54, 66, 221) | CMYK: 76%, 70%, 0%, 13% | HSV: 236°, 76%, 87%. Copy any format from the conversion table above.

What colors go well with #3642DD?

The complementary color is HSL(56, 71%, 54%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(236, 71%, 54%) in CSS?

As HSL: color: hsl(236, 71%, 54%); — As HEX: color: #3642DD; — As RGB: color: rgb(54, 66, 221); — Tailwind CSS: bg-[hsl(236,71%,54%)] — CSS variable: --color-primary: hsl(236, 71%, 54%);