#1A252E color
The hex color #1A252E is a very dark, desaturated azure.
In the RGB color model it is made of 10.2% red, 14.5% green and 18% blue (26, 37, 46).
Its hue angle is 207°, with 28% saturation and 14% lightness. For print, the CMYK equivalent is 43% cyan, 20% magenta, 0% yellow and 82% black.
The closest named color is Black Pearl (#1E272C), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.58:1).
#1A252E color codes
| HEX | #1A252E | |
|---|---|---|
| RGB | rgb(26, 37, 46) | |
| RGB percent | rgb(10.2%, 14.5%, 18%) | |
| HSL | hsl(207, 28%, 14%) | |
| HSV / HSB | hsv(207, 43%, 18%) | |
| CMYK | cmyk(43%, 20%, 0%, 82%) | |
| CIE LAB | lab(14.06, -1.94, -7.47) | |
| CIE LCH | lch(14.06, 7.71, 255.43) | |
| CIE XYZ | xyz(1.581, 1.74, 2.837) | |
| Decimal | 1713454 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A252E, 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 #1A252E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.58:1 | Pass | Pass | Pass |
| #1A252E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.58:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #1A252E looks to people with the most common types of color vision deficiency.
#21252eProtanopia
no red cones#1f232eDeuteranopia
no green cones#132728Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #1a252e; }
.text { color: #1a252e; }
.border { border: 2px solid #1a252e; }
.transparent { background-color: rgb(26 37 46 / 50%); }
.gradient { background: linear-gradient(to right, #1a252e, #1a1b2e); }
Similar colors
#1e272cBlack Pearl#222831Infinity#1b2431Dark#172b36Oceanic Noir#242a2eCinder#102030The Count’s Black#293135Nightmare Fuel#292b31Night Sky
Closest common color name: Gunmetal.
Questions
- What color is #1A252E?
- #1A252E is a very dark, desaturated azure, closest to the named color Black Pearl. It belongs to the black family of colors.
- What is the RGB value of #1A252E?
- The RGB value is 26, 37, 46: 26 red, 37 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #1A252E?
- The complementary color is #2E231A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A252E?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.58:1. WCAG asks for at least 4.5:1 for normal text.