HSL(201, 42%, 39%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

bg-[hsl(201,42%,39%)]

Color Conversions

Format Value CSS Usage
HSL hsl(201, 42%, 39%) color: hsl(201, 42%, 39%)
HEX #3A708D color: #3A708D
RGB rgb(58, 112, 141) color: rgb(58, 112, 141)
CMYK cmyk(59%, 21%, 0%, 45%)
HSV hsv(201, 59%, 55%)
HWB hwb(201 23% 45%) color: hwb(201 23% 45%)
OKLCH oklch(0.5205 0.0734 234.08) color: oklch(0.5205 0.0734 234.08)
Lab lab(44.82 -8.92 -21.3) color: lab(44.82 -8.92 -21.3)
LCH lch(44.82 23.09 247.28) color: lch(44.82 23.09 247.28)

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 5.41:1
vs Black 3.88:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#515286 — rgb(81, 82, 134)

Deuteranopia (Green-blind)

#4E4A84 — rgb(78, 74, 132)

Tritanopia (Blue-blind)

#3D807F — rgb(61, 128, 127)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(201, 42%, 39%);

text

color: hsl(201, 42%, 39%);

border

border: 2px solid hsl(201, 42%, 39%);

gradient light

background: linear-gradient(to right, hsl(201, 42%, 59%), hsl(201, 42%, 39%));

gradient dark

background: linear-gradient(to right, hsl(201, 42%, 39%), hsl(201, 42%, 19%))

hex

background-color: #3A708D;

tailwind

bg-[hsl(201,42%,39%)]

box shadow

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

css variable

--color-primary: hsl(201, 42%, 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(201, 42%, 39%)?

HEX: #3A708D | RGB: rgb(58, 112, 141) | CMYK: 59%, 21%, 0%, 45% | HSV: 201°, 59%, 55%. Copy any format from the conversion table above.

What colors go well with #3A708D?

The complementary color is HSL(21, 42%, 39%). For a triadic harmony, use hues 201°, 321°, and 81°. For analogous combinations, try hues 171° and 231°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(201, 42%, 39%) in CSS?

As HSL: color: hsl(201, 42%, 39%); — As HEX: color: #3A708D; — As RGB: color: rgb(58, 112, 141); — Tailwind CSS: bg-[hsl(201,42%,39%)] — CSS variable: --color-primary: hsl(201, 42%, 39%);