HSL(211, 72%, 20%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(211,72%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(211, 72%, 20%) color: hsl(211, 72%, 20%)
HEX #0E3258 color: #0E3258
RGB rgb(14, 50, 88) color: rgb(14, 50, 88)
CMYK cmyk(84%, 43%, 0%, 65%)
HSV hsv(211, 84%, 35%)
HWB hwb(211 6% 65%) color: hwb(211 6% 65%)
OKLCH oklch(0.3138 0.0793 252.82) color: oklch(0.3138 0.0793 252.82)
Lab lab(20.36 2.74 -26.52) color: lab(20.36 2.74 -26.52)
LCH lch(20.36 26.66 275.9) color: lch(20.36 26.66 275.9)

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 13:1
vs Black 1.62: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)

#1E1E4F — rgb(30, 30, 79)

Deuteranopia (Green-blind)

#1C194D — rgb(28, 25, 77)

Tritanopia (Blue-blind)

#104846 — rgb(16, 72, 70)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(211, 72%, 20%);

text

color: hsl(211, 72%, 20%);

border

border: 2px solid hsl(211, 72%, 20%);

gradient light

background: linear-gradient(to right, hsl(211, 72%, 40%), hsl(211, 72%, 20%));

gradient dark

background: linear-gradient(to right, hsl(211, 72%, 20%), hsl(211, 72%, 0%))

hex

background-color: #0E3258;

tailwind

bg-[hsl(211,72%,20%)]

box shadow

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

css variable

--color-primary: hsl(211, 72%, 20%);

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, 72%, 20%)?

HEX: #0E3258 | RGB: rgb(14, 50, 88) | CMYK: 84%, 43%, 0%, 65% | HSV: 211°, 84%, 35%. Copy any format from the conversion table above.

What colors go well with #0E3258?

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

As HSL: color: hsl(211, 72%, 20%); — As HEX: color: #0E3258; — As RGB: color: rgb(14, 50, 88); — Tailwind CSS: bg-[hsl(211,72%,20%)] — CSS variable: --color-primary: hsl(211, 72%, 20%);