HSL(211, 77%, 52%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(211, 77%, 52%) color: hsl(211, 77%, 52%)
HEX #2681E3 color: #2681E3
RGB rgb(38, 129, 227) color: rgb(38, 129, 227)
CMYK cmyk(83%, 43%, 0%, 11%)
HSV hsv(211, 83%, 89%)
HWB hwb(211 15% 11%) color: hwb(211 15% 11%)
OKLCH oklch(0.6026 0.1701 254.02) color: oklch(0.6026 0.1701 254.02)
Lab lab(53.66 9.09 -57.04) color: lab(53.66 9.09 -57.04)
LCH lch(53.66 57.76 279.05) color: lch(53.66 57.76 279.05)

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 3.94:1
vs Black 5.33:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#4D4ECB — rgb(77, 78, 203)

Deuteranopia (Green-blind)

#4841C6 — rgb(72, 65, 198)

Tritanopia (Blue-blind)

#2BB9B4 — rgb(43, 185, 180)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(211, 77%, 72%), hsl(211, 77%, 52%));

gradient dark

background: linear-gradient(to right, hsl(211, 77%, 52%), hsl(211, 77%, 32%))

hex

background-color: #2681E3;

tailwind

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

box shadow

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

css variable

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

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

HEX: #2681E3 | RGB: rgb(38, 129, 227) | CMYK: 83%, 43%, 0%, 11% | HSV: 211°, 83%, 89%. Copy any format from the conversion table above.

What colors go well with #2681E3?

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

As HSL: color: hsl(211, 77%, 52%); — As HEX: color: #2681E3; — As RGB: color: rgb(38, 129, 227); — Tailwind CSS: bg-[hsl(211,77%,52%)] — CSS variable: --color-primary: hsl(211, 77%, 52%);