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

Color Conversions

Format Value CSS Usage
HSL hsl(234, 12%, 15%) color: hsl(234, 12%, 15%)
HEX #22232B color: #22232B
RGB rgb(34, 35, 43) color: rgb(34, 35, 43)
CMYK cmyk(21%, 19%, 0%, 83%)
HSV hsv(233, 21%, 17%)
HWB hwb(233 13% 83%) color: hwb(233 13% 83%)
OKLCH oklch(0.2586 0.015 279.67) color: oklch(0.2586 0.015 279.67)
Lab lab(13.92 1.69 -5.46) color: lab(13.92 1.69 -5.46)
LCH lch(13.92 5.72 287.2) color: lch(13.92 5.72 287.2)

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.63:1
vs Black 1.34: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)

#222229 — rgb(34, 34, 41)

Deuteranopia (Green-blind)

#222229 — rgb(34, 34, 41)

Tritanopia (Blue-blind)

#222827 — rgb(34, 40, 39)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #22232B;

tailwind

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

box shadow

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

css variable

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

HEX: #22232B | RGB: rgb(34, 35, 43) | CMYK: 21%, 19%, 0%, 83% | HSV: 233°, 21%, 17%. Copy any format from the conversion table above.

What colors go well with #22232B?

The complementary color is HSL(54, 12%, 15%). For a triadic harmony, use hues 234°, 354°, and 114°. For analogous combinations, try hues 204° and 264°. See the Color Harmony section above for complete palettes with previews.

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

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