#050008 color

#050008 rgb(5, 0, 8)
Shades of black

The hex color #050008 is a black.

In the RGB color model it is made of 2% red, 0% green and 3.1% blue (5, 0, 8).

Its hue angle is 278°, with 100% saturation and 2% lightness. For print, the CMYK equivalent is 37% cyan, 100% magenta, 0% yellow and 97% black.

The closest named color is Raven’s Coat (#030205), a difference of 2.7 ΔE, a small difference.

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

#050008 color codes

HEX#050008
RGBrgb(5, 0, 8)
RGB percentrgb(2%, 0%, 3.1%)
HSLhsl(278, 100%, 2%)
HSV / HSBhsv(278, 100%, 3%)
CMYKcmyk(37%, 100%, 0%, 97%)
CIE LABlab(0.45, 2.42, -2.57)
CIE LCHlch(0.45, 3.53, 313.31)
CIE XYZxyz(0.106, 0.05, 0.234)
Decimal327688
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #050008; }
.text { color: #050008; }
.border { border: 2px solid #050008; }
.transparent { background-color: rgb(5 0 8 / 50%); }
.gradient { background: linear-gradient(to right, #050008, #080007); }
Background
Text color
Border

Similar colors

Questions

What color is #050008?
#050008 is a black, closest to the named color Raven’s Coat. It belongs to the black family of colors.
What is the RGB value of #050008?
The RGB value is 5, 0, 8: 5 red, 0 green and 8 blue on a 0 to 255 scale.
What is the complementary color of #050008?
The complementary color is #030800, found by rotating the hue 180° on the color wheel.
Is black or white text better on #050008?
White text. Black text has a contrast ratio of 1.01:1 and white text 20.79:1. WCAG asks for at least 4.5:1 for normal text.