HSL(236, 12%, 72%)

Grayish Blue — Blue color

Adjust Color

Color Information

Color Name

Grayish Blue

Color Family

Blue

Warm / Cool

🔵 Cool

Temperature

N/A

CSS Class

bg-[hsl(236,12%,72%)]

Color Conversions

Format Value CSS Usage
HSL hsl(236, 12%, 72%) color: hsl(236, 12%, 72%)
HEX #AFB0C0 color: #AFB0C0
RGB rgb(175, 176, 192) color: rgb(175, 176, 192)
CMYK cmyk(9%, 8%, 0%, 25%)
HSV hsv(236, 9%, 75%)
HWB hwb(236 68% 25%) color: hwb(236 68% 25%)
OKLCH oklch(0.7614 0.0227 282.99) color: oklch(0.7614 0.0227 282.99)
Lab lab(72.21 2.78 -8.25) color: lab(72.21 2.78 -8.25)
LCH lch(72.21 8.71 288.62) color: lch(72.21 8.71 288.62)

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.14:1
vs Black 9.79: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)

#AFAFBC — rgb(175, 175, 188)

Deuteranopia (Green-blind)

#AFAFBB — rgb(175, 175, 187)

Tritanopia (Blue-blind)

#AFB9B8 — rgb(175, 185, 184)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(236, 12%, 72%);

text

color: hsl(236, 12%, 72%);

border

border: 2px solid hsl(236, 12%, 72%);

gradient light

background: linear-gradient(to right, hsl(236, 12%, 92%), hsl(236, 12%, 72%));

gradient dark

background: linear-gradient(to right, hsl(236, 12%, 72%), hsl(236, 12%, 52%))

hex

background-color: #AFB0C0;

tailwind

bg-[hsl(236,12%,72%)]

box shadow

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

css variable

--color-primary: hsl(236, 12%, 72%);

Related Colors

Use Cases for Grayish Blue

Corporate branding Trust signals Tech products Social media Primary buttons

Frequently Asked Questions

What are all the color codes for HSL(236, 12%, 72%)?

HEX: #AFB0C0 | RGB: rgb(175, 176, 192) | CMYK: 9%, 8%, 0%, 25% | HSV: 236°, 9%, 75%. Copy any format from the conversion table above.

What colors go well with #AFB0C0?

The complementary color is HSL(56, 12%, 72%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(236, 12%, 72%) in CSS?

As HSL: color: hsl(236, 12%, 72%); — As HEX: color: #AFB0C0; — As RGB: color: rgb(175, 176, 192); — Tailwind CSS: bg-[hsl(236,12%,72%)] — CSS variable: --color-primary: hsl(236, 12%, 72%);