#22272A color

#22272A rgb(34, 39, 42)
Shades of black

The hex color #22272A is a very dark, grayish azure.

In the RGB color model it is made of 13.3% red, 15.3% green and 16.5% blue (34, 39, 42).

Its hue angle is 202°, with 11% saturation and 15% lightness. For print, the CMYK equivalent is 19% cyan, 7% magenta, 0% yellow and 84% black.

The closest named color is Cinder (#242A2E), a difference of 1.1 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 15.09:1).

#22272A color codes

HEX#22272A
RGBrgb(34, 39, 42)
RGB percentrgb(13.3%, 15.3%, 16.5%)
HSLhsl(202, 11%, 15%)
HSV / HSBhsv(202, 19%, 16%)
CMYKcmyk(19%, 7%, 0%, 84%)
CIE LABlab(15.27, -1.42, -2.73)
CIE LCHlch(15.27, 3.08, 242.52)
CIE XYZxyz(1.803, 1.958, 2.473)
Decimal2238250
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #22272A, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #22272ARatioAAAAAAA large
Sample text1.39:1FailFailFail
Sample text15.09:1PassPassPass
#22272A as text onRatioAAAAAAA large
Sample text15.09:1PassPassPass
Sample text1.39:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #22272A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #22272a; }
.text { color: #22272a; }
.border { border: 2px solid #22272a; }
.transparent { background-color: rgb(34 39 42 / 50%); }
.gradient { background: linear-gradient(to right, #22272a, #22232a); }
Background
Text color
Border

Similar colors

Closest common color name: Gunmetal.

Questions

What color is #22272A?
#22272A is a very dark, grayish azure, closest to the named color Cinder. It belongs to the black family of colors.
What is the RGB value of #22272A?
The RGB value is 34, 39, 42: 34 red, 39 green and 42 blue on a 0 to 255 scale.
What is the complementary color of #22272A?
The complementary color is #2A2522, found by rotating the hue 180° on the color wheel.
Is black or white text better on #22272A?
White text. Black text has a contrast ratio of 1.39:1 and white text 15.09:1. WCAG asks for at least 4.5:1 for normal text.