#051428 color

#051428 rgb(5, 20, 40)
Shades of black

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

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

Its hue angle is 214°, with 78% saturation and 9% lightness. For print, the CMYK equivalent is 87% cyan, 50% magenta, 0% yellow and 84% black.

The closest named color is Trapped Darkness (#0E1D32), a difference of 2.7 ΔE, a small difference.

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

#051428 color codes

HEX#051428
RGBrgb(5, 20, 40)
RGB percentrgb(2%, 7.8%, 15.7%)
HSLhsl(214, 78%, 9%)
HSV / HSBhsv(214, 88%, 16%)
CMYKcmyk(87%, 50%, 0%, 84%)
CIE LABlab(6.19, 1.8, -15.39)
CIE LCHlch(6.19, 15.5, 276.66)
CIE XYZxyz(0.696, 0.686, 2.103)
Decimal332840
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Oxford Blue.

Questions

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