HSL(213, 60%, 29%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(213,60%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(213, 60%, 29%) color: hsl(213, 60%, 29%)
HEX #1E4676 color: #1E4676
RGB rgb(30, 70, 118) color: rgb(30, 70, 118)
CMYK cmyk(75%, 41%, 0%, 54%)
HSV hsv(213, 75%, 46%)
HWB hwb(213 12% 54%) color: hwb(213 12% 54%)
OKLCH oklch(0.3914 0.0933 254.63) color: oklch(0.3914 0.0933 254.63)
Lab lab(29.32 3.68 -31.57) color: lab(29.32 3.68 -31.57)
LCH lch(29.32 31.78 276.65) color: lch(29.32 31.78 276.65)

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.58:1
vs Black 2.19: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)

#2F306A — rgb(47, 48, 106)

Deuteranopia (Green-blind)

#2D2A68 — rgb(45, 42, 104)

Tritanopia (Blue-blind)

#20615F — rgb(32, 97, 95)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(213, 60%, 29%);

text

color: hsl(213, 60%, 29%);

border

border: 2px solid hsl(213, 60%, 29%);

gradient light

background: linear-gradient(to right, hsl(213, 60%, 49%), hsl(213, 60%, 29%));

gradient dark

background: linear-gradient(to right, hsl(213, 60%, 29%), hsl(213, 60%, 9%))

hex

background-color: #1E4676;

tailwind

bg-[hsl(213,60%,29%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(213, 60%, 29%, 0.4);

css variable

--color-primary: hsl(213, 60%, 29%);

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(213, 60%, 29%)?

HEX: #1E4676 | RGB: rgb(30, 70, 118) | CMYK: 75%, 41%, 0%, 54% | HSV: 213°, 75%, 46%. Copy any format from the conversion table above.

What colors go well with #1E4676?

The complementary color is HSL(33, 60%, 29%). For a triadic harmony, use hues 213°, 333°, and 93°. For analogous combinations, try hues 183° and 243°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(213, 60%, 29%) in CSS?

As HSL: color: hsl(213, 60%, 29%); — As HEX: color: #1E4676; — As RGB: color: rgb(30, 70, 118); — Tailwind CSS: bg-[hsl(213,60%,29%)] — CSS variable: --color-primary: hsl(213, 60%, 29%);