#1A1837 color
The hex color #1A1837 is a very dark, desaturated blue.
In the RGB color model it is made of 10.2% red, 9.4% green and 21.6% blue (26, 24, 55).
Its hue angle is 244°, with 39% saturation and 15% lightness. For print, the CMYK equivalent is 53% cyan, 56% magenta, 0% yellow and 78% black.
The closest named color is Black Market (#222244), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.08:1).
#1A1837 color codes
| HEX | #1A1837 | |
|---|---|---|
| RGB | rgb(26, 24, 55) | |
| RGB percent | rgb(10.2%, 9.4%, 21.6%) | |
| HSL | hsl(244, 39%, 15%) | |
| HSV / HSB | hsv(244, 56%, 22%) | |
| CMYK | cmyk(53%, 56%, 0%, 78%) | |
| CIE LAB | lab(10.17, 10.96, -20) | |
| CIE LCH | lch(10.17, 22.81, 298.73) | |
| CIE XYZ | xyz(1.442, 1.149, 3.759) | |
| Decimal | 1710135 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A1837, 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 #1A1837 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.23:1 | Fail | Fail | Fail |
| Sample text | 17.08:1 | Pass | Pass | Pass |
| #1A1837 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.08:1 | Pass | Pass | Pass |
| Sample text | 1.23: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 #1A1837 looks to people with the most common types of color vision deficiency.
#0b1d38Protanopia
no red cones#0a1b36Deuteranopia
no green cones#111e24Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #1a1837; }
.text { color: #1a1837; }
.border { border: 2px solid #1a1837; }
.transparent { background-color: rgb(26 24 55 / 50%); }
.gradient { background: linear-gradient(to right, #1a1837, #2a1837); }
Similar colors
#222244Black Market#161d3bNightwalker#151931Dark Knight#2a2243Midnight Velvet#1c0f33Midnight Monarch#211d49Azulado#071037Infinite Night#060929Mysterious Depths
Closest common color name: Dark Purple.
Questions
- What color is #1A1837?
- #1A1837 is a very dark, desaturated blue, closest to the named color Black Market. It belongs to the black family of colors.
- What is the RGB value of #1A1837?
- The RGB value is 26, 24, 55: 26 red, 24 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #1A1837?
- The complementary color is #353718, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A1837?
- White text. Black text has a contrast ratio of 1.23:1 and white text 17.08:1. WCAG asks for at least 4.5:1 for normal text.