#1D51A3 color
The hex color #1D51A3 is a dark, moderate azure.
In the RGB color model it is made of 11.4% red, 31.8% green and 63.9% blue (29, 81, 163).
Its hue angle is 217°, with 70% saturation and 38% lightness. For print, the CMYK equivalent is 82% cyan, 50% magenta, 0% yellow and 36% black.
The closest named color is Fist of the North Star (#225599), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.61:1).
#1D51A3 color codes
| HEX | #1D51A3 | |
|---|---|---|
| RGB | rgb(29, 81, 163) | |
| RGB percent | rgb(11.4%, 31.8%, 63.9%) | |
| HSL | hsl(217, 70%, 38%) | |
| HSV / HSB | hsv(217, 82%, 64%) | |
| CMYK | cmyk(82%, 50%, 0%, 36%) | |
| CIE LAB | lab(35.58, 14.19, -49.13) | |
| CIE LCH | lch(35.58, 51.14, 286.11) | |
| CIE XYZ | xyz(10.058, 8.789, 35.81) | |
| Decimal | 1921443 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D51A3, 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 #1D51A3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.76:1 | Fail | Fail | Fail |
| Sample text | 7.61:1 | Pass | Pass | Pass |
| #1D51A3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.61:1 | Pass | Pass | Pass |
| Sample text | 2.76: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 #1D51A3 looks to people with the most common types of color vision deficiency.
#1f5aa6Protanopia
no red cones#004ea1Deuteranopia
no green cones#006572Tritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #1d51a3; }
.text { color: #1d51a3; }
.border { border: 2px solid #1d51a3; }
.transparent { background-color: rgb(29 81 163 / 50%); }
.gradient { background: linear-gradient(to right, #1d51a3, #2c1da3); }
Similar colors
#225599Fist of the North Star#244e94Le Grand Bleu#1d5699Blue Chip#2e5090Nightly Activities#1c4d8fDancing Sea#3356aaBlasphemous Blue#0f52baSapphire#1c4c8cOlympian Blue
Questions
- What color is #1D51A3?
- #1D51A3 is a dark, moderate azure, closest to the named color Fist of the North Star. It belongs to the blue family of colors.
- What is the RGB value of #1D51A3?
- The RGB value is 29, 81, 163: 29 red, 81 green and 163 blue on a 0 to 255 scale.
- What is the complementary color of #1D51A3?
- The complementary color is #A36F1D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D51A3?
- White text. Black text has a contrast ratio of 2.76:1 and white text 7.61:1. WCAG asks for at least 4.5:1 for normal text.