#1A174D color
The hex color #1A174D is a very dark, moderate blue.
In the RGB color model it is made of 10.2% red, 9% green and 30.2% blue (26, 23, 77).
Its hue angle is 243°, with 54% saturation and 20% lightness. For print, the CMYK equivalent is 66% cyan, 70% magenta, 0% yellow and 70% black.
The closest named color is Deadly Depths (#111144), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.49:1).
#1A174D color codes
| HEX | #1A174D | |
|---|---|---|
| RGB | rgb(26, 23, 77) | |
| RGB percent | rgb(10.2%, 9%, 30.2%) | |
| HSL | hsl(243, 54%, 20%) | |
| HSV / HSB | hsv(243, 70%, 30%) | |
| CMYK | cmyk(66%, 70%, 0%, 70%) | |
| CIE LAB | lab(11.74, 20.08, -32.95) | |
| CIE LCH | lch(11.74, 38.58, 301.36) | |
| CIE XYZ | xyz(2.072, 1.368, 7.175) | |
| Decimal | 1709901 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A174D, 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 #1A174D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.49:1 | Pass | Pass | Pass |
| #1A174D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.49:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #1A174D looks to people with the most common types of color vision deficiency.
#00214fProtanopia
no red cones#001d4cDeuteranopia
no green cones#00252fTritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #1a174d; }
.text { color: #1a174d; }
.border { border: 2px solid #1a174d; }
.transparent { background-color: rgb(26 23 77 / 50%); }
.gradient { background: linear-gradient(to right, #1a174d, #35174d); }
Similar colors
#111144Deadly Depths#231c4dSilent Orbit#1c1e4dFly-by-Night#211d49Azulado#222255Spacescape#000b44Storm#001155Interstellar Blue#0f084bSilent Twilight
Closest common color name: Midnight Blue.
Questions
- What color is #1A174D?
- #1A174D is a very dark, moderate blue, closest to the named color Deadly Depths. It belongs to the black family of colors.
- What is the RGB value of #1A174D?
- The RGB value is 26, 23, 77: 26 red, 23 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #1A174D?
- The complementary color is #4A4D17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A174D?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.49:1. WCAG asks for at least 4.5:1 for normal text.