#05007B color
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 | |
|---|---|---|
| RGB | rgb(5, 0, 123) | |
| RGB percent | rgb(2%, 0%, 48.2%) | |
| HSL | hsl(242, 100%, 24%) | |
| HSV / HSB | hsv(242, 100%, 48%) | |
| CMYK | cmyk(96%, 100%, 0%, 52%) | |
| CIE LAB | lab(12.36, 46.23, -62.52) | |
| CIE LCH | lch(12.36, 77.75, 306.48) | |
| CIE XYZ | xyz(3.637, 1.462, 18.826) | |
| Decimal | 327803 | |
| Short hex | None (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 #05007B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.25:1 | Pass | Pass | Pass |
| #05007B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.25:1 | Pass | Pass | Pass |
| Sample text | 1.29:1 | Fail | Fail | Fail |
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.
#00267eProtanopia
no red cones#001979Deuteranopia
no green cones#003045Tritanopia
no blue cones#202020Achromatopsia
no color vision
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); }
Similar colors
#000080Navy Blue#000080Navy#110077Insomniac Blue#040273Deep Blue#000088Midnight in Tokyo#220077Child of the Night#00008bDark Blue#220088Orbital Kingdom
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.