#21242D color

#21242D rgb(33, 36, 45)
Shades of black

The hex color #21242D is a very dark, grayish blue.

In the RGB color model it is made of 12.9% red, 14.1% green and 17.6% blue (33, 36, 45).

Its hue angle is 225°, with 15% saturation and 15% lightness. For print, the CMYK equivalent is 27% cyan, 20% magenta, 0% yellow and 82% black.

The closest named color is Infinity (#222831), a difference of 2.1 ΔE, a small difference.

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

#21242D color codes

HEX#21242D
RGBrgb(33, 36, 45)
RGB percentrgb(12.9%, 14.1%, 17.6%)
HSLhsl(225, 15%, 15%)
HSV / HSBhsv(225, 27%, 18%)
CMYKcmyk(27%, 20%, 0%, 82%)
CIE LABlab(14.26, 1.15, -6.4)
CIE LCHlch(14.26, 6.5, 280.19)
CIE XYZxyz(1.732, 1.775, 2.733)
Decimal2171949
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #21242D, 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 #21242DRatioAAAAAAA large
Sample text1.35:1FailFailFail
Sample text15.5:1PassPassPass
#21242D as text onRatioAAAAAAA large
Sample text15.5:1PassPassPass
Sample text1.35: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 #21242D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #21242d; }
.text { color: #21242d; }
.border { border: 2px solid #21242d; }
.transparent { background-color: rgb(33 36 45 / 50%); }
.gradient { background: linear-gradient(to right, #21242d, #24212d); }
Background
Text color
Border

Similar colors

Closest common color name: Gunmetal.

Questions

What color is #21242D?
#21242D is a very dark, grayish blue, closest to the named color Infinity. It belongs to the black family of colors.
What is the RGB value of #21242D?
The RGB value is 33, 36, 45: 33 red, 36 green and 45 blue on a 0 to 255 scale.
What is the complementary color of #21242D?
The complementary color is #2D2A21, found by rotating the hue 180° on the color wheel.
Is black or white text better on #21242D?
White text. Black text has a contrast ratio of 1.35:1 and white text 15.5:1. WCAG asks for at least 4.5:1 for normal text.