#1A1938 color
The hex color #1A1938 is a very dark, desaturated blue.
In the RGB color model it is made of 10.2% red, 9.8% green and 22% blue (26, 25, 56).
Its hue angle is 242°, with 38% saturation and 16% lightness. For print, the CMYK equivalent is 54% cyan, 55% magenta, 0% yellow and 78% black.
The closest named color is Nightwalker (#161D3B), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.93:1).
#1A1938 color codes
| HEX | #1A1938 | |
|---|---|---|
| RGB | rgb(26, 25, 56) | |
| RGB percent | rgb(10.2%, 9.8%, 22%) | |
| HSL | hsl(242, 38%, 16%) | |
| HSV / HSB | hsv(242, 55%, 22%) | |
| CMYK | cmyk(54%, 55%, 0%, 78%) | |
| CIE LAB | lab(10.56, 10.58, -20.1) | |
| CIE LCH | lch(10.56, 22.71, 297.76) | |
| CIE XYZ | xyz(1.487, 1.2, 3.894) | |
| Decimal | 1710392 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A1938, 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 #1A1938 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.93:1 | Pass | Pass | Pass |
| #1A1938 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.93:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #1A1938 looks to people with the most common types of color vision deficiency.
#0c1e39Protanopia
no red cones#0a1c37Deuteranopia
no green cones#102025Tritanopia
no blue cones#1d1d1dAchromatopsia
no color vision
CSS examples
.background { background-color: #1a1938; }
.text { color: #1a1938; }
.border { border: 2px solid #1a1938; }
.transparent { background-color: rgb(26 25 56 / 50%); }
.gradient { background: linear-gradient(to right, #1a1938, #2a1938); }
Similar colors
#161d3bNightwalker#222244Black Market#151931Dark Knight#2a2243Midnight Velvet#211d49Azulado#071037Infinite Night#1c0f33Midnight Monarch#060929Mysterious Depths
Closest common color name: Oxford Blue.
Questions
- What color is #1A1938?
- #1A1938 is a very dark, desaturated blue, closest to the named color Nightwalker. It belongs to the black family of colors.
- What is the RGB value of #1A1938?
- The RGB value is 26, 25, 56: 26 red, 25 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #1A1938?
- The complementary color is #373819, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A1938?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.93:1. WCAG asks for at least 4.5:1 for normal text.