#05007B color

#05007B rgb(5, 0, 123)
Shades of blue

The hex color #05007B is a dark, vivid blue.

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

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

The closest named color is Navy Blue (#000080), a difference of 0.7 ΔE, which is barely visible.

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

#05007B color codes

HEX#05007B
RGBrgb(5, 0, 123)
RGB percentrgb(2%, 0%, 48.2%)
HSLhsl(242, 100%, 24%)
HSV / HSBhsv(242, 100%, 48%)
CMYKcmyk(96%, 100%, 0%, 52%)
CIE LABlab(12.36, 46.23, -62.52)
CIE LCHlch(12.36, 77.75, 306.48)
CIE XYZxyz(3.637, 1.462, 18.826)
Decimal327803
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #05007B, 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 #05007BRatioAAAAAAA large
Sample text1.29:1FailFailFail
Sample text16.25:1PassPassPass
#05007B as text onRatioAAAAAAA large
Sample text16.25:1PassPassPass
Sample text1.29: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 #05007B looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

What color is #05007B?
#05007B is a dark, vivid blue, closest to the named color Navy Blue. It belongs to the blue family of colors.
What is the RGB value of #05007B?
The RGB value is 5, 0, 123: 5 red, 0 green and 123 blue on a 0 to 255 scale.
What is the complementary color of #05007B?
The complementary color is #767B00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #05007B?
White text. Black text has a contrast ratio of 1.29:1 and white text 16.25:1. WCAG asks for at least 4.5:1 for normal text.