HSL(223, 12%, 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(223,12%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(223, 12%, 15%) color: hsl(223, 12%, 15%)
HEX #22242B color: #22242B
RGB rgb(34, 36, 43) color: rgb(34, 36, 43)
CMYK cmyk(21%, 16%, 0%, 83%)
HSV hsv(227, 21%, 17%)
HWB hwb(227 13% 83%) color: hwb(227 13% 83%)
OKLCH oklch(0.2613 0.0134 272.84) color: oklch(0.2613 0.0134 272.84)
Lab lab(14.27 0.98 -4.94) color: lab(14.27 0.98 -4.94)
LCH lch(14.27 5.04 281.22) color: lch(14.27 5.04 281.22)

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.5:1
vs Black 1.36: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)

#232329 — rgb(35, 35, 41)

Deuteranopia (Green-blind)

#232329 — rgb(35, 35, 41)

Tritanopia (Blue-blind)

#222828 — rgb(34, 40, 40)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(223, 12%, 15%);

text

color: hsl(223, 12%, 15%);

border

border: 2px solid hsl(223, 12%, 15%);

gradient light

background: linear-gradient(to right, hsl(223, 12%, 35%), hsl(223, 12%, 15%));

gradient dark

background: linear-gradient(to right, hsl(223, 12%, 15%), hsl(223, 12%, 0%))

hex

background-color: #22242B;

tailwind

bg-[hsl(223,12%,15%)]

box shadow

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

css variable

--color-primary: hsl(223, 12%, 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(223, 12%, 15%)?

HEX: #22242B | RGB: rgb(34, 36, 43) | CMYK: 21%, 16%, 0%, 83% | HSV: 227°, 21%, 17%. Copy any format from the conversion table above.

What colors go well with #22242B?

The complementary color is HSL(43, 12%, 15%). For a triadic harmony, use hues 223°, 343°, and 103°. For analogous combinations, try hues 193° and 253°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(223, 12%, 15%) in CSS?

As HSL: color: hsl(223, 12%, 15%); — As HEX: color: #22242B; — As RGB: color: rgb(34, 36, 43); — Tailwind CSS: bg-[hsl(223,12%,15%)] — CSS variable: --color-primary: hsl(223, 12%, 15%);