#181522 color

#181522 rgb(24, 21, 34)
Shades of black

The hex color #181522 is a very dark, grayish violet.

In the RGB color model it is made of 9.4% red, 8.2% green and 13.3% blue (24, 21, 34).

Its hue angle is 254°, with 24% saturation and 11% lightness. For print, the CMYK equivalent is 29% cyan, 38% magenta, 0% yellow and 87% black.

The closest named color is Corbeau (#111122), a difference of 2.7 ΔE, a small difference.

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

#181522 color codes

HEX#181522
RGBrgb(24, 21, 34)
RGB percentrgb(9.4%, 8.2%, 13.3%)
HSLhsl(254, 24%, 11%)
HSV / HSBhsv(254, 38%, 13%)
CMYKcmyk(29%, 38%, 0%, 87%)
CIE LABlab(7.64, 5.17, -8.5)
CIE LCHlch(7.64, 9.95, 301.32)
CIE XYZxyz(0.934, 0.846, 1.627)
Decimal1578274
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #181522, 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 #181522RatioAAAAAAA large
Sample text1.17:1FailFailFail
Sample text17.96:1PassPassPass
#181522 as text onRatioAAAAAAA large
Sample text17.96:1PassPassPass
Sample text1.17: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 #181522 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #181522; }
.text { color: #181522; }
.border { border: 2px solid #181522; }
.transparent { background-color: rgb(24 21 34 / 50%); }
.gradient { background: linear-gradient(to right, #181522, #1e1522); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Black.

Questions

What color is #181522?
#181522 is a very dark, grayish violet, closest to the named color Corbeau. It belongs to the black family of colors.
What is the RGB value of #181522?
The RGB value is 24, 21, 34: 24 red, 21 green and 34 blue on a 0 to 255 scale.
What is the complementary color of #181522?
The complementary color is #1F2215, found by rotating the hue 180° on the color wheel.
Is black or white text better on #181522?
White text. Black text has a contrast ratio of 1.17:1 and white text 17.96:1. WCAG asks for at least 4.5:1 for normal text.