#1D1FB5 color
The hex color #1D1FB5 is a moderate blue.
In the RGB color model it is made of 11.4% red, 12.2% green and 71% blue (29, 31, 181).
Its hue angle is 239°, with 72% saturation and 41% lightness. For print, the CMYK equivalent is 84% cyan, 83% magenta, 0% yellow and 29% black.
The closest named color is Sapphire Splendour (#2425B9), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.96:1).
#1D1FB5 color codes
| HEX | #1D1FB5 | |
|---|---|---|
| RGB | rgb(29, 31, 181) | |
| RGB percent | rgb(11.4%, 12.2%, 71%) | |
| HSL | hsl(239, 72%, 41%) | |
| HSV / HSB | hsv(239, 84%, 71%) | |
| CMYK | cmyk(84%, 83%, 0%, 29%) | |
| CIE LAB | lab(25.49, 51.84, -76.44) | |
| CIE LCH | lch(25.49, 92.36, 304.15) | |
| CIE XYZ | xyz(9.334, 4.576, 44.098) | |
| Decimal | 1908661 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D1FB5, 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 #1D1FB5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.92:1 | Fail | Fail | Fail |
| Sample text | 10.96:1 | Pass | Pass | Pass |
| #1D1FB5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.96:1 | Pass | Pass | Pass |
| Sample text | 1.92: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 #1D1FB5 looks to people with the most common types of color vision deficiency.
#0044b9Protanopia
no red cones#0034b3Deuteranopia
no green cones#00506cTritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #1d1fb5; }
.text { color: #1d1fb5; }
.border { border: 2px solid #1d1fb5; }
.transparent { background-color: rgb(29 31 181 / 50%); }
.gradient { background: linear-gradient(to right, #1d1fb5, #671db5); }
Similar colors
#2425b9Sapphire Splendour#0011bbToo Dark Tonight#0018a8Dark Galaxy#3311bbGalactic Highway#010fccTrue Blue#0000cdMedium Blue#1f22d2Lapis on Neptune#030aa7Cobalt
Questions
- What color is #1D1FB5?
- #1D1FB5 is a moderate blue, closest to the named color Sapphire Splendour. It belongs to the blue family of colors.
- What is the RGB value of #1D1FB5?
- The RGB value is 29, 31, 181: 29 red, 31 green and 181 blue on a 0 to 255 scale.
- What is the complementary color of #1D1FB5?
- The complementary color is #B5B31D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D1FB5?
- White text. Black text has a contrast ratio of 1.92:1 and white text 10.96:1. WCAG asks for at least 4.5:1 for normal text.