#05008F color

#05008F rgb(5, 0, 143)
Shades of blue

The hex color #05008F is a dark, vivid blue.

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

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

The closest named color is Dark Blue (#00008B), a difference of 0.6 ΔE, which is barely visible.

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

#05008F color codes

HEX#05008F
RGBrgb(5, 0, 143)
RGB percentrgb(2%, 0%, 56.1%)
HSLhsl(242, 100%, 28%)
HSV / HSBhsv(242, 100%, 56%)
CMYKcmyk(97%, 100%, 0%, 44%)
CIE LABlab(15.56, 51.53, -69.83)
CIE LCHlch(15.56, 86.78, 306.43)
CIE XYZxyz(5.019, 2.015, 26.106)
Decimal327823
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #05008F, 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 #05008FRatioAAAAAAA large
Sample text1.4:1FailFailFail
Sample text14.97:1PassPassPass
#05008F as text onRatioAAAAAAA large
Sample text14.97:1PassPassPass
Sample text1.4: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 #05008F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #05008f; }
.text { color: #05008f; }
.border { border: 2px solid #05008f; }
.transparent { background-color: rgb(5 0 143 / 50%); }
.gradient { background: linear-gradient(to right, #05008f, #4d008f); }
Background
Text color
Border

Similar colors

Questions

What color is #05008F?
#05008F is a dark, vivid blue, closest to the named color Dark Blue. It belongs to the blue family of colors.
What is the RGB value of #05008F?
The RGB value is 5, 0, 143: 5 red, 0 green and 143 blue on a 0 to 255 scale.
What is the complementary color of #05008F?
The complementary color is #8A8F00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #05008F?
White text. Black text has a contrast ratio of 1.4:1 and white text 14.97:1. WCAG asks for at least 4.5:1 for normal text.