HSL(213, 20%, 74%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(213,20%,74%)]

Color Conversions

Format Value CSS Usage
HSL hsl(213, 20%, 74%) color: hsl(213, 20%, 74%)
HEX #AFBBCA color: #AFBBCA
RGB rgb(175, 187, 202) color: rgb(175, 187, 202)
CMYK cmyk(13%, 7%, 0%, 21%)
HSV hsv(213, 13%, 79%)
HWB hwb(213 69% 21%) color: hwb(213 69% 21%)
OKLCH oklch(0.7875 0.0251 253.98) color: oklch(0.7875 0.0251 253.98)
Lab lab(75.4 -1.1 -8.96) color: lab(75.4 -1.1 -8.96)
LCH lch(75.4 9.03 263) color: lch(75.4 9.03 263)

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 1.95:1
vs Black 10.78:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#B4B4C6 — rgb(180, 180, 198)

Deuteranopia (Green-blind)

#B4B3C6 — rgb(180, 179, 198)

Tritanopia (Blue-blind)

#B0C4C3 — rgb(176, 196, 195)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(213, 20%, 74%);

text

color: hsl(213, 20%, 74%);

border

border: 2px solid hsl(213, 20%, 74%);

gradient light

background: linear-gradient(to right, hsl(213, 20%, 94%), hsl(213, 20%, 74%));

gradient dark

background: linear-gradient(to right, hsl(213, 20%, 74%), hsl(213, 20%, 54%))

hex

background-color: #AFBBCA;

tailwind

bg-[hsl(213,20%,74%)]

box shadow

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

css variable

--color-primary: hsl(213, 20%, 74%);

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

HEX: #AFBBCA | RGB: rgb(175, 187, 202) | CMYK: 13%, 7%, 0%, 21% | HSV: 213°, 13%, 79%. Copy any format from the conversion table above.

What colors go well with #AFBBCA?

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

As HSL: color: hsl(213, 20%, 74%); — As HEX: color: #AFBBCA; — As RGB: color: rgb(175, 187, 202); — Tailwind CSS: bg-[hsl(213,20%,74%)] — CSS variable: --color-primary: hsl(213, 20%, 74%);