Skip to content
Kolorvia
#20222a

Color #20222a

A nearly neutral, gray-leaning very dark blue.

Conversions

HEX
#20222a
RGB
rgb(32, 34, 42)
HSL
hsl(228, 13.5%, 14.5%)
HSV / HSB
hsv(228, 23.8%, 16.5%)
CMYK
cmyk(23.8%, 19%, 0%, 83.5%)
LAB
lab(13.34, 1.29, -5.64)
LCH
lch(13.34, 5.79, 282.88)
OKLCH
oklch(25.3%, 0.0153, 274.11)
HWB
hwb(228, 12.5%, 83.5%)

Harmony colors

Complementary

#2a2820

Analogous

#20272a
#20222a
#23202a

Triadic

#20222a
#2a2022
#222a20

Split-complementary

#20222a
#2a2320
#272a20

Tetradic

#20222a
#28202a
#2a2820
#222a20

Square

#20222a
#2a2027
#2a2820
#202a23

Shades

Color #20222a mixed toward black.

#1b1c23
#15171c
#101115
#0b0b0e
#050607

Tints

Color #20222a mixed toward white.

#3f4353
#5f657c
#8389a1
#adb0c0
#d6d8e0

Tones

Color #20222a mixed toward gray.

#212229
#222328
#222327
#232427
#242426

Accessibility

Aa White text on this color
15.87:1
Aa Black text on this color
1.32:1

White text reads better on this background (15.87:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#212128 · ΔE 1.2

Deuteranopia

#212128 · ΔE 1.2

Tritanopia

#202726 · ΔE 7.8

Achromatopsia

#222222 · ΔE 5.3

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #20222a;
Tailwind (arbitrary value)
bg-[#20222a]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#20222a (#20222a) is rgb(32, 34, 42) in RGB.

No, #20222a is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #20222a, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.