#21252E color

#21252E rgb(33, 37, 46)
Shades of black

The hex color #21252E is a very dark, grayish blue.

In the RGB color model it is made of 12.9% red, 14.5% green and 18% blue (33, 37, 46).

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

The closest named color is Infinity (#222831), a difference of 1.4 ΔE, which is barely visible.

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

#21252E color codes

HEX#21252E
RGBrgb(33, 37, 46)
RGB percentrgb(12.9%, 14.5%, 18%)
HSLhsl(222, 16%, 15%)
HSV / HSBhsv(222, 28%, 18%)
CMYKcmyk(28%, 20%, 0%, 82%)
CIE LABlab(14.64, 0.74, -6.52)
CIE LCHlch(14.64, 6.56, 276.43)
CIE XYZxyz(1.782, 1.844, 2.846)
Decimal2172206
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #21252E, 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 #21252ERatioAAAAAAA large
Sample text1.37:1FailFailFail
Sample text15.34:1PassPassPass
#21252E as text onRatioAAAAAAA large
Sample text15.34:1PassPassPass
Sample text1.37: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 #21252E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #21252e; }
.text { color: #21252e; }
.border { border: 2px solid #21252e; }
.transparent { background-color: rgb(33 37 46 / 50%); }
.gradient { background: linear-gradient(to right, #21252e, #24212e); }
Background
Text color
Border

Similar colors

Closest common color name: Gunmetal.

Questions

What color is #21252E?
#21252E 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 #21252E?
The RGB value is 33, 37, 46: 33 red, 37 green and 46 blue on a 0 to 255 scale.
What is the complementary color of #21252E?
The complementary color is #2E2A21, found by rotating the hue 180° on the color wheel.
Is black or white text better on #21252E?
White text. Black text has a contrast ratio of 1.37:1 and white text 15.34:1. WCAG asks for at least 4.5:1 for normal text.