#1A213C color
The hex color #1A213C is a very dark, desaturated blue.
In the RGB color model it is made of 10.2% red, 12.9% green and 23.5% blue (26, 33, 60).
Its hue angle is 228°, with 40% saturation and 17% lightness. For print, the CMYK equivalent is 57% cyan, 45% magenta, 0% yellow and 76% black.
The closest named color is Nightwalker (#161D3B), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.83:1).
#1A213C color codes
| HEX | #1A213C | |
|---|---|---|
| RGB | rgb(26, 33, 60) | |
| RGB percent | rgb(10.2%, 12.9%, 23.5%) | |
| HSL | hsl(228, 40%, 17%) | |
| HSV / HSB | hsv(228, 57%, 24%) | |
| CMYK | cmyk(57%, 45%, 0%, 76%) | |
| CIE LAB | lab(13.43, 6.04, -18.38) | |
| CIE LCH | lch(13.43, 19.35, 288.21) | |
| CIE XYZ | xyz(1.785, 1.633, 4.495) | |
| Decimal | 1712444 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A213C, 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 #1A213C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.83:1 | Pass | Pass | Pass |
| #1A213C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.83:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #1A213C looks to people with the most common types of color vision deficiency.
#17243dProtanopia
no red cones#13213bDeuteranopia
no green cones#0c272bTritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #1a213c; }
.text { color: #1a213c; }
.border { border: 2px solid #1a213c; }
.transparent { background-color: rgb(26 33 60 / 50%); }
.gradient { background: linear-gradient(to right, #1a213c, #241a3c); }
Similar colors
#161d3bNightwalker#161e34Sombre Night#151931Dark Knight#112244Dark Eclipse#1c2841Eternal Darkness#21263aMidnight Express#222244Black Market#1f2133Eclipse Elixir
Closest common color name: Oxford Blue.
Questions
- What color is #1A213C?
- #1A213C is a very dark, desaturated blue, closest to the named color Nightwalker. It belongs to the blue family of colors.
- What is the RGB value of #1A213C?
- The RGB value is 26, 33, 60: 26 red, 33 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #1A213C?
- The complementary color is #3C351A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A213C?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.83:1. WCAG asks for at least 4.5:1 for normal text.