#003D7F color
The hex color #003D7F is a dark, vivid azure.
In the RGB color model it is made of 0% red, 23.9% green and 49.8% blue (0, 61, 127).
Its hue angle is 211°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 100% cyan, 52% magenta, 0% yellow and 50% black.
The closest named color is Tardis Blue (#003B6F), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.64:1).
#003D7F color codes
| HEX | #003D7F | |
|---|---|---|
| RGB | rgb(0, 61, 127) | |
| RGB percent | rgb(0%, 23.9%, 49.8%) | |
| HSL | hsl(211, 100%, 25%) | |
| HSV / HSB | hsv(211, 100%, 50%) | |
| CMYK | cmyk(100%, 52%, 0%, 50%) | |
| CIE LAB | lab(26.36, 10.79, -42.01) | |
| CIE LCH | lch(26.36, 43.38, 284.41) | |
| CIE XYZ | xyz(5.498, 4.869, 20.725) | |
| Decimal | 15743 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #003D7F, 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 #003D7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.97:1 | Fail | Fail | Fail |
| Sample text | 10.64:1 | Pass | Pass | Pass |
| #003D7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.64:1 | Pass | Pass | Pass |
| Sample text | 1.97: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 #003D7F looks to people with the most common types of color vision deficiency.
#114481Protanopia
no red cones#00397eDeuteranopia
no green cones#004d58Tritanopia
no blue cones#3e3e3eAchromatopsia
no color vision
CSS examples
.background { background-color: #003d7f; }
.text { color: #003d7f; }
.border { border: 2px solid #003d7f; }
.transparent { background-color: rgb(0 61 127 / 50%); }
.gradient { background: linear-gradient(to right, #003d7f, #02007f); }
Similar colors
#003b6fTardis Blue#004488Pacific Depths#1e4581Maritime Outpost#1b416fAegean Blue#03386aLost in Space#004477Mermaid Blues#003368Neptune’s Dream#1e488fNuit Blanche
Closest common color name: Cobalt Blue.
Questions
- What color is #003D7F?
- #003D7F is a dark, vivid azure, closest to the named color Tardis Blue. It belongs to the blue family of colors.
- What is the RGB value of #003D7F?
- The RGB value is 0, 61, 127: 0 red, 61 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #003D7F?
- The complementary color is #7F4200, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #003D7F?
- White text. Black text has a contrast ratio of 1.97:1 and white text 10.64:1. WCAG asks for at least 4.5:1 for normal text.