#051421 color

#051421 rgb(5, 20, 33)
Shades of black

The hex color #051421 is a very dark, moderate azure.

In the RGB color model it is made of 2% red, 7.8% green and 12.9% blue (5, 20, 33).

Its hue angle is 208°, with 74% saturation and 7% lightness. For print, the CMYK equivalent is 85% cyan, 39% magenta, 0% yellow and 87% black.

The closest named color is Midnight Edition (#0C121B), a difference of 3.2 ΔE, a small difference.

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

#051421 color codes

HEX#051421
RGBrgb(5, 20, 33)
RGB percentrgb(2%, 7.8%, 12.9%)
HSLhsl(208, 74%, 7%)
HSV / HSBhsv(208, 85%, 13%)
CMYKcmyk(85%, 39%, 0%, 87%)
CIE LABlab(5.8, -0.96, -10.69)
CIE LCHlch(5.8, 10.73, 264.89)
CIE XYZxyz(0.587, 0.642, 1.532)
Decimal332833
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #051421; }
.text { color: #051421; }
.border { border: 2px solid #051421; }
.transparent { background-color: rgb(5 20 33 / 50%); }
.gradient { background: linear-gradient(to right, #051421, #050621); }
Background
Text color
Border

Similar colors

Questions

What color is #051421?
#051421 is a very dark, moderate azure, closest to the named color Midnight Edition. It belongs to the black family of colors.
What is the RGB value of #051421?
The RGB value is 5, 20, 33: 5 red, 20 green and 33 blue on a 0 to 255 scale.
What is the complementary color of #051421?
The complementary color is #211205, found by rotating the hue 180° on the color wheel.
Is black or white text better on #051421?
White text. Black text has a contrast ratio of 1.13:1 and white text 18.61:1. WCAG asks for at least 4.5:1 for normal text.