HSL(211, 52%, 23%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(211,52%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(211, 52%, 23%) color: hsl(211, 52%, 23%)
HEX #1C3A59 color: #1C3A59
RGB rgb(28, 58, 89) color: rgb(28, 58, 89)
CMYK cmyk(69%, 35%, 0%, 65%)
HSV hsv(210, 69%, 35%)
HWB hwb(210 11% 65%) color: hwb(210 11% 65%)
OKLCH oklch(0.3414 0.0656 250.99) color: oklch(0.3414 0.0656 250.99)
Lab lab(23.65 -0.02 -21.93) color: lab(23.65 -0.02 -21.93)
LCH lch(23.65 21.93 269.95) color: lch(23.65 21.93 269.95)

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 11.67:1
vs Black 1.8: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)

#292951 — rgb(41, 41, 81)

Deuteranopia (Green-blind)

#272550 — rgb(39, 37, 80)

Tritanopia (Blue-blind)

#1E4C4A — rgb(30, 76, 74)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(211, 52%, 23%);

text

color: hsl(211, 52%, 23%);

border

border: 2px solid hsl(211, 52%, 23%);

gradient light

background: linear-gradient(to right, hsl(211, 52%, 43%), hsl(211, 52%, 23%));

gradient dark

background: linear-gradient(to right, hsl(211, 52%, 23%), hsl(211, 52%, 3%))

hex

background-color: #1C3A59;

tailwind

bg-[hsl(211,52%,23%)]

box shadow

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

css variable

--color-primary: hsl(211, 52%, 23%);

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

HEX: #1C3A59 | RGB: rgb(28, 58, 89) | CMYK: 69%, 35%, 0%, 65% | HSV: 210°, 69%, 35%. Copy any format from the conversion table above.

What colors go well with #1C3A59?

The complementary color is HSL(31, 52%, 23%). 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, 52%, 23%) in CSS?

As HSL: color: hsl(211, 52%, 23%); — As HEX: color: #1C3A59; — As RGB: color: rgb(28, 58, 89); — Tailwind CSS: bg-[hsl(211,52%,23%)] — CSS variable: --color-primary: hsl(211, 52%, 23%);