HSL(221, 14%, 15%)

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(221,14%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(221, 14%, 15%) color: hsl(221, 14%, 15%)
HEX #21242C color: #21242C
RGB rgb(33, 36, 44) color: rgb(33, 36, 44)
CMYK cmyk(25%, 18%, 0%, 83%)
HSV hsv(224, 25%, 17%)
HWB hwb(224 13% 83%) color: hwb(224 13% 83%)
OKLCH oklch(0.2607 0.0156 269.07) color: oklch(0.2607 0.0156 269.07)
Lab lab(14.21 0.85 -5.75) color: lab(14.21 0.85 -5.75)
LCH lch(14.21 5.81 278.41) color: lch(14.21 5.81 278.41)

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 15.52:1
vs Black 1.35: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)

#22222A — rgb(34, 34, 42)

Deuteranopia (Green-blind)

#22222A — rgb(34, 34, 42)

Tritanopia (Blue-blind)

#212928 — rgb(33, 41, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(221, 14%, 15%);

text

color: hsl(221, 14%, 15%);

border

border: 2px solid hsl(221, 14%, 15%);

gradient light

background: linear-gradient(to right, hsl(221, 14%, 35%), hsl(221, 14%, 15%));

gradient dark

background: linear-gradient(to right, hsl(221, 14%, 15%), hsl(221, 14%, 0%))

hex

background-color: #21242C;

tailwind

bg-[hsl(221,14%,15%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(221, 14%, 15%, 0.4);

css variable

--color-primary: hsl(221, 14%, 15%);

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(221, 14%, 15%)?

HEX: #21242C | RGB: rgb(33, 36, 44) | CMYK: 25%, 18%, 0%, 83% | HSV: 224°, 25%, 17%. Copy any format from the conversion table above.

What colors go well with #21242C?

The complementary color is HSL(41, 14%, 15%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(221, 14%, 15%) in CSS?

As HSL: color: hsl(221, 14%, 15%); — As HEX: color: #21242C; — As RGB: color: rgb(33, 36, 44); — Tailwind CSS: bg-[hsl(221,14%,15%)] — CSS variable: --color-primary: hsl(221, 14%, 15%);