#05008F color
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 | |
|---|---|---|
| RGB | rgb(5, 0, 143) | |
| RGB percent | rgb(2%, 0%, 56.1%) | |
| HSL | hsl(242, 100%, 28%) | |
| HSV / HSB | hsv(242, 100%, 56%) | |
| CMYK | cmyk(97%, 100%, 0%, 44%) | |
| CIE LAB | lab(15.56, 51.53, -69.83) | |
| CIE LCH | lch(15.56, 86.78, 306.43) | |
| CIE XYZ | xyz(5.019, 2.015, 26.106) | |
| Decimal | 327823 | |
| Short hex | None (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 #05008F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.97:1 | Pass | Pass | Pass |
| #05008F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.97:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #05008F looks to people with the most common types of color vision deficiency.
#002e92Protanopia
no red cones#001f8dDeuteranopia
no green cones#003952Tritanopia
no blue cones#272727Achromatopsia
no color vision
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); }
Similar colors
#00008bDark Blue#000088Midnight in Tokyo#000099Everlasting Night#120a8fUltramarine#220088Orbital Kingdom#240093Dramatic Blue#000080Navy Blue#000080Navy
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.