#05162E color

#05162E rgb(5, 22, 46)
Shades of black

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

In the RGB color model it is made of 2% red, 8.6% green and 18% blue (5, 22, 46).

Its hue angle is 215°, with 80% saturation and 10% lightness. For print, the CMYK equivalent is 89% cyan, 52% magenta, 0% yellow and 82% black.

The closest named color is Squid’s Ink (#041330), a difference of 2.5 ΔE, a small difference.

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

#05162E color codes

HEX#05162E
RGBrgb(5, 22, 46)
RGB percentrgb(2%, 8.6%, 18%)
HSLhsl(215, 80%, 10%)
HSV / HSBhsv(215, 89%, 18%)
CMYKcmyk(89%, 52%, 0%, 82%)
CIE LABlab(7.26, 3.24, -18.19)
CIE LCHlch(7.26, 18.47, 280.09)
CIE XYZxyz(0.842, 0.803, 2.695)
Decimal333358
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #05162e; }
.text { color: #05162e; }
.border { border: 2px solid #05162e; }
.transparent { background-color: rgb(5 22 46 / 50%); }
.gradient { background: linear-gradient(to right, #05162e, #08052e); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

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