#004DA8 color
The hex color #004DA8 is a dark, vivid azure.
In the RGB color model it is made of 0% red, 30.2% green and 65.9% blue (0, 77, 168).
Its hue angle is 213°, with 100% saturation and 33% lightness. For print, the CMYK equivalent is 100% cyan, 54% magenta, 0% yellow and 34% black.
The closest named color is Cobalt Blue (#0047AB), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.99:1).
#004DA8 color codes
| HEX | #004DA8 | |
|---|---|---|
| RGB | rgb(0, 77, 168) | |
| RGB percent | rgb(0%, 30.2%, 65.9%) | |
| HSL | hsl(213, 100%, 33%) | |
| HSV / HSB | hsv(213, 100%, 66%) | |
| CMYK | cmyk(100%, 54%, 0%, 34%) | |
| CIE LAB | lab(34.26, 17.18, -54.28) | |
| CIE LCH | lch(34.26, 56.93, 287.56) | |
| CIE XYZ | xyz(9.719, 8.134, 38.096) | |
| Decimal | 19880 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #004DA8, 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 #004DA8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.63:1 | Fail | Fail | Fail |
| Sample text | 7.99:1 | Pass | Pass | Pass |
| #004DA8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.99:1 | Pass | Pass | Pass |
| Sample text | 2.63: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 #004DA8 looks to people with the most common types of color vision deficiency.
#0058abProtanopia
no red cones#004aa6Deuteranopia
no green cones#006473Tritanopia
no blue cones#515151Achromatopsia
no color vision
CSS examples
.background { background-color: #004da8; }
.text { color: #004da8; }
.border { border: 2px solid #004da8; }
.transparent { background-color: rgb(0 77 168 / 50%); }
.gradient { background: linear-gradient(to right, #004da8, #0700a8); }
Similar colors
#0047abCobalt Blue#244e94Le Grand Bleu#0f52baSapphire#1c4d8fDancing Sea#225599Fist of the North Star#1c4c8cOlympian Blue#234893Cascade Twilight#1e488fNuit Blanche
Questions
- What color is #004DA8?
- #004DA8 is a dark, vivid azure, closest to the named color Cobalt Blue. It belongs to the blue family of colors.
- What is the RGB value of #004DA8?
- The RGB value is 0, 77, 168: 0 red, 77 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #004DA8?
- The complementary color is #A85B00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #004DA8?
- White text. Black text has a contrast ratio of 2.63:1 and white text 7.99:1. WCAG asks for at least 4.5:1 for normal text.