#151531 color

#151531 rgb(21, 21, 49)
Shades of black

The hex color #151531 is a very dark, desaturated blue.

In the RGB color model it is made of 8.2% red, 8.2% green and 19.2% blue (21, 21, 49).

Its hue angle is 240°, with 40% saturation and 14% lightness. For print, the CMYK equivalent is 57% cyan, 57% magenta, 0% yellow and 81% black.

The closest named color is Dark Knight (#151931), a difference of 2.8 ΔE, a small difference.

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

#151531 color codes

HEX#151531
RGBrgb(21, 21, 49)
RGB percentrgb(8.2%, 8.2%, 19.2%)
HSLhsl(240, 40%, 14%)
HSV / HSBhsv(240, 57%, 19%)
CMYKcmyk(57%, 57%, 0%, 81%)
CIE LABlab(8.28, 9.5, -18.69)
CIE LCHlch(8.28, 20.96, 296.94)
CIE XYZxyz(1.132, 0.917, 3.023)
Decimal1381681
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #151531; }
.text { color: #151531; }
.border { border: 2px solid #151531; }
.transparent { background-color: rgb(21 21 49 / 50%); }
.gradient { background: linear-gradient(to right, #151531, #231531); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #151531?
#151531 is a very dark, desaturated blue, closest to the named color Dark Knight. It belongs to the black family of colors.
What is the RGB value of #151531?
The RGB value is 21, 21, 49: 21 red, 21 green and 49 blue on a 0 to 255 scale.
What is the complementary color of #151531?
The complementary color is #313115, found by rotating the hue 180° on the color wheel.
Is black or white text better on #151531?
White text. Black text has a contrast ratio of 1.18:1 and white text 17.74:1. WCAG asks for at least 4.5:1 for normal text.