HSL(237, 28%, 35%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(237,28%,35%)]

Color Conversions

Format Value CSS Usage
HSL hsl(237, 28%, 35%) color: hsl(237, 28%, 35%)
HEX #404372 color: #404372
RGB rgb(64, 67, 114) color: rgb(64, 67, 114)
CMYK cmyk(44%, 41%, 0%, 55%)
HSV hsv(236, 44%, 45%)
HWB hwb(236 25% 55%) color: hwb(236 25% 55%)
OKLCH oklch(0.4029 0.0786 279.47) color: oklch(0.4029 0.0786 279.47)
Lab lab(30.2 12 -27.52) color: lab(30.2 12 -27.52)
LCH lch(30.2 30.02 293.56) color: lch(30.2 30.02 293.56)

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 9.28:1
vs Black 2.26: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)

#414167 — rgb(65, 65, 103)

Deuteranopia (Green-blind)

#414164 — rgb(65, 65, 100)

Tritanopia (Blue-blind)

#405E5C — rgb(64, 94, 92)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(237, 28%, 35%);

text

color: hsl(237, 28%, 35%);

border

border: 2px solid hsl(237, 28%, 35%);

gradient light

background: linear-gradient(to right, hsl(237, 28%, 55%), hsl(237, 28%, 35%));

gradient dark

background: linear-gradient(to right, hsl(237, 28%, 35%), hsl(237, 28%, 15%))

hex

background-color: #404372;

tailwind

bg-[hsl(237,28%,35%)]

box shadow

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

css variable

--color-primary: hsl(237, 28%, 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(237, 28%, 35%)?

HEX: #404372 | RGB: rgb(64, 67, 114) | CMYK: 44%, 41%, 0%, 55% | HSV: 236°, 44%, 45%. Copy any format from the conversion table above.

What colors go well with #404372?

The complementary color is HSL(57, 28%, 35%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(237, 28%, 35%) in CSS?

As HSL: color: hsl(237, 28%, 35%); — As HEX: color: #404372; — As RGB: color: rgb(64, 67, 114); — Tailwind CSS: bg-[hsl(237,28%,35%)] — CSS variable: --color-primary: hsl(237, 28%, 35%);