#004C8F color
The hex color #004C8F is a dark, vivid azure.
In the RGB color model it is made of 0% red, 29.8% green and 56.1% blue (0, 76, 143).
Its hue angle is 208°, with 100% saturation and 28% lightness. For print, the CMYK equivalent is 100% cyan, 47% magenta, 0% yellow and 44% black.
The closest named color is Olympian Blue (#1C4C8C), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.64:1).
#004C8F color codes
| HEX | #004C8F | |
|---|---|---|
| RGB | rgb(0, 76, 143) | |
| RGB percent | rgb(0%, 29.8%, 56.1%) | |
| HSL | hsl(208, 100%, 28%) | |
| HSV / HSB | hsv(208, 100%, 56%) | |
| CMYK | cmyk(100%, 47%, 0%, 44%) | |
| CIE LAB | lab(32.15, 7.31, -42.58) | |
| CIE LCH | lch(32.15, 43.2, 279.74) | |
| CIE XYZ | xyz(7.54, 7.151, 26.964) | |
| Decimal | 19599 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #004C8F, 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 #004C8F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.43:1 | Fail | Fail | Fail |
| Sample text | 8.64:1 | Pass | Pass | Pass |
| #004C8F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.64:1 | Pass | Pass | Pass |
| Sample text | 2.43: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 #004C8F looks to people with the most common types of color vision deficiency.
#265292Protanopia
no red cones#00468eDeuteranopia
no green cones#005c66Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #004c8f; }
.text { color: #004c8f; }
.border { border: 2px solid #004c8f; }
.transparent { background-color: rgb(0 76 143 / 50%); }
.gradient { background: linear-gradient(to right, #004c8f, #00058f); }
Similar colors
#1c4c8cOlympian Blue#1c4d8fDancing Sea#234e86Night Mode#004488Pacific Depths#244e94Le Grand Bleu#1e488fNuit Blanche#225599Fist of the North Star#1d5699Blue Chip
Closest common color name: Cobalt Blue.
Questions
- What color is #004C8F?
- #004C8F is a dark, vivid azure, closest to the named color Olympian Blue. It belongs to the blue family of colors.
- What is the RGB value of #004C8F?
- The RGB value is 0, 76, 143: 0 red, 76 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #004C8F?
- The complementary color is #8F4300, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #004C8F?
- White text. Black text has a contrast ratio of 2.43:1 and white text 8.64:1. WCAG asks for at least 4.5:1 for normal text.