HSL(237, 58%, 47%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(237,58%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(237, 58%, 47%) color: hsl(237, 58%, 47%)
HEX #3239BD color: #3239BD
RGB rgb(50, 57, 189) color: rgb(50, 57, 189)
CMYK cmyk(74%, 70%, 0%, 26%)
HSV hsv(237, 74%, 74%)
HWB hwb(237 19% 26%) color: hwb(237 19% 26%)
OKLCH oklch(0.4348 0.2017 272.09) color: oklch(0.4348 0.2017 272.09)
Lab lab(32.43 41.81 -69.67) color: lab(32.43 41.81 -69.67)
LCH lch(32.43 81.25 300.97) color: lch(32.43 81.25 300.97)

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 8.55:1
vs Black 2.46: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)

#35359D — rgb(53, 53, 157)

Deuteranopia (Green-blind)

#353495 — rgb(53, 52, 149)

Tritanopia (Blue-blind)

#32847E — rgb(50, 132, 126)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(237, 58%, 47%);

text

color: hsl(237, 58%, 47%);

border

border: 2px solid hsl(237, 58%, 47%);

gradient light

background: linear-gradient(to right, hsl(237, 58%, 67%), hsl(237, 58%, 47%));

gradient dark

background: linear-gradient(to right, hsl(237, 58%, 47%), hsl(237, 58%, 27%))

hex

background-color: #3239BD;

tailwind

bg-[hsl(237,58%,47%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(237, 58%, 47%, 0.4);

css variable

--color-primary: hsl(237, 58%, 47%);

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(237, 58%, 47%)?

HEX: #3239BD | RGB: rgb(50, 57, 189) | CMYK: 74%, 70%, 0%, 26% | HSV: 237°, 74%, 74%. Copy any format from the conversion table above.

What colors go well with #3239BD?

The complementary color is HSL(57, 58%, 47%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(237, 58%, 47%) in CSS?

As HSL: color: hsl(237, 58%, 47%); — As HEX: color: #3239BD; — As RGB: color: rgb(50, 57, 189); — Tailwind CSS: bg-[hsl(237,58%,47%)] — CSS variable: --color-primary: hsl(237, 58%, 47%);