HSL(211, 18%, 26%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(211,18%,26%)]

Color Conversions

Format Value CSS Usage
HSL hsl(211, 18%, 26%) color: hsl(211, 18%, 26%)
HEX #36424E color: #36424E
RGB rgb(54, 66, 78) color: rgb(54, 66, 78)
CMYK cmyk(31%, 15%, 0%, 69%)
HSV hsv(210, 31%, 31%)
HWB hwb(210 21% 69%) color: hwb(210 21% 69%)
OKLCH oklch(0.3733 0.026 248.52) color: oklch(0.3733 0.026 248.52)
Lab lab(27.38 -1.61 -8.83) color: lab(27.38 -1.61 -8.83)
LCH lch(27.38 8.98 259.67) color: lch(27.38 8.98 259.67)

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 10.26:1
vs Black 2.05: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)

#3B3B4B — rgb(59, 59, 75)

Deuteranopia (Green-blind)

#3B3A4A — rgb(59, 58, 74)

Tritanopia (Blue-blind)

#374948 — rgb(55, 73, 72)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(211, 18%, 26%);

text

color: hsl(211, 18%, 26%);

border

border: 2px solid hsl(211, 18%, 26%);

gradient light

background: linear-gradient(to right, hsl(211, 18%, 46%), hsl(211, 18%, 26%));

gradient dark

background: linear-gradient(to right, hsl(211, 18%, 26%), hsl(211, 18%, 6%))

hex

background-color: #36424E;

tailwind

bg-[hsl(211,18%,26%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(211, 18%, 26%, 0.4);

css variable

--color-primary: hsl(211, 18%, 26%);

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(211, 18%, 26%)?

HEX: #36424E | RGB: rgb(54, 66, 78) | CMYK: 31%, 15%, 0%, 69% | HSV: 210°, 31%, 31%. Copy any format from the conversion table above.

What colors go well with #36424E?

The complementary color is HSL(31, 18%, 26%). For a triadic harmony, use hues 211°, 331°, and 91°. For analogous combinations, try hues 181° and 241°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(211, 18%, 26%) in CSS?

As HSL: color: hsl(211, 18%, 26%); — As HEX: color: #36424E; — As RGB: color: rgb(54, 66, 78); — Tailwind CSS: bg-[hsl(211,18%,26%)] — CSS variable: --color-primary: hsl(211, 18%, 26%);