HSL(218, 35%, 36%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(218,35%,36%)]

Color Conversions

Format Value CSS Usage
HSL hsl(218, 35%, 36%) color: hsl(218, 35%, 36%)
HEX #3C537C color: #3C537C
RGB rgb(60, 83, 124) color: rgb(60, 83, 124)
CMYK cmyk(52%, 33%, 0%, 51%)
HSV hsv(218, 52%, 49%)
HWB hwb(218 24% 51%) color: hwb(218 24% 51%)
OKLCH oklch(0.4425 0.0737 261.45) color: oklch(0.4425 0.0737 261.45)
Lab lab(35.21 3.7 -25.92) color: lab(35.21 3.7 -25.92)
LCH lch(35.21 26.18 278.12) color: lch(35.21 26.18 278.12)

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.72:1
vs Black 2.72: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)

#464672 — rgb(70, 70, 114)

Deuteranopia (Green-blind)

#454370 — rgb(69, 67, 112)

Tritanopia (Blue-blind)

#3D6A69 — rgb(61, 106, 105)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(218, 35%, 36%);

text

color: hsl(218, 35%, 36%);

border

border: 2px solid hsl(218, 35%, 36%);

gradient light

background: linear-gradient(to right, hsl(218, 35%, 56%), hsl(218, 35%, 36%));

gradient dark

background: linear-gradient(to right, hsl(218, 35%, 36%), hsl(218, 35%, 16%))

hex

background-color: #3C537C;

tailwind

bg-[hsl(218,35%,36%)]

box shadow

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

css variable

--color-primary: hsl(218, 35%, 36%);

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

HEX: #3C537C | RGB: rgb(60, 83, 124) | CMYK: 52%, 33%, 0%, 51% | HSV: 218°, 52%, 49%. Copy any format from the conversion table above.

What colors go well with #3C537C?

The complementary color is HSL(38, 35%, 36%). For a triadic harmony, use hues 218°, 338°, and 98°. For analogous combinations, try hues 188° and 248°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(218, 35%, 36%) in CSS?

As HSL: color: hsl(218, 35%, 36%); — As HEX: color: #3C537C; — As RGB: color: rgb(60, 83, 124); — Tailwind CSS: bg-[hsl(218,35%,36%)] — CSS variable: --color-primary: hsl(218, 35%, 36%);