#1D04A4 color
The hex color #1D04A4 is a dark, vivid blue.
In the RGB color model it is made of 11.4% red, 1.6% green and 64.3% blue (29, 4, 164).
Its hue angle is 249°, with 95% saturation and 33% lightness. For print, the CMYK equivalent is 82% cyan, 98% magenta, 0% yellow and 36% black.
The closest named color is Bohemian Blue (#0000AA), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.08:1).
#1D04A4 color codes
| HEX | #1D04A4 | |
|---|---|---|
| RGB | rgb(29, 4, 164) | |
| RGB percent | rgb(11.4%, 1.6%, 64.3%) | |
| HSL | hsl(249, 95%, 33%) | |
| HSV / HSB | hsv(249, 98%, 64%) | |
| CMYK | cmyk(82%, 98%, 0%, 36%) | |
| CIE LAB | lab(20.15, 56.2, -75.08) | |
| CIE LCH | lch(20.15, 93.79, 306.82) | |
| CIE XYZ | xyz(7.249, 3.028, 35.317) | |
| Decimal | 1901732 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D04A4, 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 #1D04A4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13.08:1 | Pass | Pass | Pass |
| #1D04A4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.08:1 | Pass | Pass | Pass |
| Sample text | 1.61: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 #1D04A4 looks to people with the most common types of color vision deficiency.
#0038a8Protanopia
no red cones#0029a2Deuteranopia
no green cones#00425fTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #1d04a4; }
.text { color: #1d04a4; }
.border { border: 2px solid #1d04a4; }
.transparent { background-color: rgb(29 4 164 / 50%); }
.gradient { background: linear-gradient(to right, #1d04a4, #6d04a4); }
Similar colors
#0000aaBohemian Blue#030aa7Cobalt#000099Everlasting Night#240093Dramatic Blue#001199Space Exploration#0018a8Dark Galaxy#120a8fUltramarine#0011bbToo Dark Tonight
Questions
- What color is #1D04A4?
- #1D04A4 is a dark, vivid blue, closest to the named color Bohemian Blue. It belongs to the blue family of colors.
- What is the RGB value of #1D04A4?
- The RGB value is 29, 4, 164: 29 red, 4 green and 164 blue on a 0 to 255 scale.
- What is the complementary color of #1D04A4?
- The complementary color is #8BA404, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D04A4?
- White text. Black text has a contrast ratio of 1.61:1 and white text 13.08:1. WCAG asks for at least 4.5:1 for normal text.