HSL(233, 20%, 74%)

Blue — Blue color

Adjust Color

Color Information

Color Name

Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(233, 20%, 74%) color: hsl(233, 20%, 74%)
HEX #AFB3CA color: #AFB3CA
RGB rgb(175, 179, 202) color: rgb(175, 179, 202)
CMYK cmyk(13%, 11%, 0%, 21%)
HSV hsv(231, 13%, 79%)
HWB hwb(231 69% 21%) color: hwb(231 69% 21%)
OKLCH oklch(0.771 0.033 277.77) color: oklch(0.771 0.033 277.77)
Lab lab(73.3 3.23 -12.1) color: lab(73.3 3.23 -12.1)
LCH lch(73.3 12.52 284.95) color: lch(73.3 12.52 284.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 2.07:1
vs Black 10.12: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)

#B1B1C4 — rgb(177, 177, 196)

Deuteranopia (Green-blind)

#B1B0C3 — rgb(177, 176, 195)

Tritanopia (Blue-blind)

#AFC0BF — rgb(175, 192, 191)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #AFB3CA;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(233, 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(233, 20%, 74%)?

HEX: #AFB3CA | RGB: rgb(175, 179, 202) | CMYK: 13%, 11%, 0%, 21% | HSV: 231°, 13%, 79%. Copy any format from the conversion table above.

What colors go well with #AFB3CA?

The complementary color is HSL(53, 20%, 74%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(233, 20%, 74%) in CSS?

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