#1A2438 color
The hex color #1A2438 is a very dark, desaturated blue.
In the RGB color model it is made of 10.2% red, 14.1% green and 22% blue (26, 36, 56).
Its hue angle is 220°, with 37% saturation and 16% lightness. For print, the CMYK equivalent is 54% cyan, 36% magenta, 0% yellow and 78% black.
The closest named color is Eternal Darkness (#1C2841), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.52:1).
#1A2438 color codes
| HEX | #1A2438 | |
|---|---|---|
| RGB | rgb(26, 36, 56) | |
| RGB percent | rgb(10.2%, 14.1%, 22%) | |
| HSL | hsl(220, 37%, 16%) | |
| HSV / HSB | hsv(220, 54%, 22%) | |
| CMYK | cmyk(54%, 36%, 0%, 78%) | |
| CIE LAB | lab(14.21, 2.32, -14.33) | |
| CIE LCH | lch(14.21, 14.52, 279.18) | |
| CIE XYZ | xyz(1.77, 1.767, 3.988) | |
| Decimal | 1713208 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A2438, 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 #1A2438 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.52:1 | Pass | Pass | Pass |
| #1A2438 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.52: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 #1A2438 looks to people with the most common types of color vision deficiency.
#1d2639Protanopia
no red cones#192338Deuteranopia
no green cones#0e282bTritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #1a2438; }
.text { color: #1a2438; }
.border { border: 2px solid #1a2438; }
.transparent { background-color: rgb(26 36 56 / 50%); }
.gradient { background: linear-gradient(to right, #1a2438, #1f1a38); }
Similar colors
#1c2841Eternal Darkness#21263aMidnight Express#1e2433Moonless Mystery#161e34Sombre Night#0e1d32Trapped Darkness#1f2133Eclipse Elixir#1b2431Dark#102030The Count’s Black
Closest common color name: Oxford Blue.
Questions
- What color is #1A2438?
- #1A2438 is a very dark, desaturated blue, closest to the named color Eternal Darkness. It belongs to the blue family of colors.
- What is the RGB value of #1A2438?
- The RGB value is 26, 36, 56: 26 red, 36 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #1A2438?
- The complementary color is #382E1A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A2438?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.52:1. WCAG asks for at least 4.5:1 for normal text.