HSL(212, 30%, 32%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(212,30%,32%)]

Color Conversions

Format Value CSS Usage
HSL hsl(212, 30%, 32%) color: hsl(212, 30%, 32%)
HEX #39506A color: #39506A
RGB rgb(57, 80, 106) color: rgb(57, 80, 106)
CMYK cmyk(46%, 25%, 0%, 58%)
HSV hsv(212, 46%, 42%)
HWB hwb(212 23% 58%) color: hwb(212 23% 58%)
OKLCH oklch(0.4238 0.052 252.07) color: oklch(0.4238 0.052 252.07)
Lab lab(33.24 -1.09 -17.78) color: lab(33.24 -1.09 -17.78)
LCH lch(33.24 17.81 266.49) color: lch(33.24 17.81 266.49)

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.3:1
vs Black 2.53: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)

#434364 — rgb(67, 67, 100)

Deuteranopia (Green-blind)

#424062 — rgb(66, 64, 98)

Tritanopia (Blue-blind)

#3A5F5E — rgb(58, 95, 94)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(212, 30%, 32%);

text

color: hsl(212, 30%, 32%);

border

border: 2px solid hsl(212, 30%, 32%);

gradient light

background: linear-gradient(to right, hsl(212, 30%, 52%), hsl(212, 30%, 32%));

gradient dark

background: linear-gradient(to right, hsl(212, 30%, 32%), hsl(212, 30%, 12%))

hex

background-color: #39506A;

tailwind

bg-[hsl(212,30%,32%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(212, 30%, 32%, 0.4);

css variable

--color-primary: hsl(212, 30%, 32%);

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(212, 30%, 32%)?

HEX: #39506A | RGB: rgb(57, 80, 106) | CMYK: 46%, 25%, 0%, 58% | HSV: 212°, 46%, 42%. Copy any format from the conversion table above.

What colors go well with #39506A?

The complementary color is HSL(32, 30%, 32%). For a triadic harmony, use hues 212°, 332°, and 92°. For analogous combinations, try hues 182° and 242°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(212, 30%, 32%) in CSS?

As HSL: color: hsl(212, 30%, 32%); — As HEX: color: #39506A; — As RGB: color: rgb(57, 80, 106); — Tailwind CSS: bg-[hsl(212,30%,32%)] — CSS variable: --color-primary: hsl(212, 30%, 32%);