#021531 color

#021531 rgb(2, 21, 49)
Shades of black

The hex color #021531 is a very dark, vivid azure.

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

Its hue angle is 216°, with 92% saturation and 10% lightness. For print, the CMYK equivalent is 96% cyan, 57% magenta, 0% yellow and 81% black.

The closest named color is Squid’s Ink (#041330), a difference of 1.3 ΔE, which is barely visible.

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

#021531 color codes

HEX#021531
RGBrgb(2, 21, 49)
RGB percentrgb(0.8%, 8.2%, 19.2%)
HSLhsl(216, 92%, 10%)
HSV / HSBhsv(216, 96%, 19%)
CMYKcmyk(96%, 57%, 0%, 81%)
CIE LABlab(6.96, 4.7, -20.88)
CIE LCHlch(6.96, 21.4, 282.68)
CIE XYZxyz(0.847, 0.771, 3.009)
Decimal136497
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #021531?
#021531 is a very dark, vivid azure, closest to the named color Squid’s Ink. It belongs to the black family of colors.
What is the RGB value of #021531?
The RGB value is 2, 21, 49: 2 red, 21 green and 49 blue on a 0 to 255 scale.
What is the complementary color of #021531?
The complementary color is #311E02, found by rotating the hue 180° on the color wheel.
Is black or white text better on #021531?
White text. Black text has a contrast ratio of 1.15:1 and white text 18.19:1. WCAG asks for at least 4.5:1 for normal text.