HSL(201, 42%, 35%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

7000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(201, 42%, 35%) color: hsl(201, 42%, 35%)
HEX #34647F color: #34647F
RGB rgb(52, 100, 127) color: rgb(52, 100, 127)
CMYK cmyk(59%, 21%, 0%, 50%)
HSV hsv(202, 59%, 50%)
HWB hwb(202 21% 50%) color: hwb(202 21% 50%)
OKLCH oklch(0.4812 0.068 235.24) color: oklch(0.4812 0.068 235.24)
Lab lab(40.21 -7.79 -20.01) color: lab(40.21 -7.79 -20.01)
LCH lch(40.21 21.47 248.73) color: lch(40.21 21.47 248.73)

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 6.41:1
vs Black 3.28: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)

#494978 — rgb(73, 73, 120)

Deuteranopia (Green-blind)

#464277 — rgb(70, 66, 119)

Tritanopia (Blue-blind)

#367372 — rgb(54, 115, 114)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(201, 42%, 55%), hsl(201, 42%, 35%));

gradient dark

background: linear-gradient(to right, hsl(201, 42%, 35%), hsl(201, 42%, 15%))

hex

background-color: #34647F;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(201, 42%, 35%);

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%, 35%)?

HEX: #34647F | RGB: rgb(52, 100, 127) | CMYK: 59%, 21%, 0%, 50% | HSV: 202°, 59%, 50%. Copy any format from the conversion table above.

What colors go well with #34647F?

The complementary color is HSL(21, 42%, 35%). 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%, 35%) in CSS?

As HSL: color: hsl(201, 42%, 35%); — As HEX: color: #34647F; — As RGB: color: rgb(52, 100, 127); — Tailwind CSS: bg-[hsl(201,42%,35%)] — CSS variable: --color-primary: hsl(201, 42%, 35%);