#004D7C color
The hex color #004D7C is a dark, vivid azure.
In the RGB color model it is made of 0% red, 30.2% green and 48.6% blue (0, 77, 124).
Its hue angle is 203°, with 100% saturation and 24% lightness. For print, the CMYK equivalent is 100% cyan, 38% magenta, 0% yellow and 51% black.
The closest named color is Sea Paint (#00507A), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.93:1).
#004D7C color codes
| HEX | #004D7C | |
|---|---|---|
| RGB | rgb(0, 77, 124) | |
| RGB percent | rgb(0%, 30.2%, 48.6%) | |
| HSL | hsl(203, 100%, 24%) | |
| HSV / HSB | hsv(203, 100%, 49%) | |
| CMYK | cmyk(100%, 38%, 0%, 51%) | |
| CIE LAB | lab(31.26, -1.45, -32.28) | |
| CIE LCH | lch(31.26, 32.31, 267.42) | |
| CIE XYZ | xyz(6.291, 6.762, 20.039) | |
| Decimal | 19836 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #004D7C, 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 #004D7C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.35:1 | Fail | Fail | Fail |
| Sample text | 8.93:1 | Pass | Pass | Pass |
| #004D7C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.93:1 | Pass | Pass | Pass |
| Sample text | 2.35: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 #004D7C looks to people with the most common types of color vision deficiency.
#364f7eProtanopia
no red cones#24457bDeuteranopia
no green cones#00595eTritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #004d7c; }
.text { color: #004d7c; }
.border { border: 2px solid #004d7c; }
.transparent { background-color: rgb(0 77 124 / 50%); }
.gradient { background: linear-gradient(to right, #004d7c, #000f7c); }
Similar colors
#00507aSea Paint#015482Grand Bleu#005588Dark Denim#004477Mermaid Blues#005784Beyond the Sea#2255773AM in Shibuya#234e86Night Mode#2d517cSlumber
Closest common color name: Cobalt Blue.
Questions
- What color is #004D7C?
- #004D7C is a dark, vivid azure, closest to the named color Sea Paint. It belongs to the blue family of colors.
- What is the RGB value of #004D7C?
- The RGB value is 0, 77, 124: 0 red, 77 green and 124 blue on a 0 to 255 scale.
- What is the complementary color of #004D7C?
- The complementary color is #7C2F00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #004D7C?
- White text. Black text has a contrast ratio of 2.35:1 and white text 8.93:1. WCAG asks for at least 4.5:1 for normal text.