#1A102E color
The hex color #1A102E is a very dark, desaturated violet.
In the RGB color model it is made of 10.2% red, 6.3% green and 18% blue (26, 16, 46).
Its hue angle is 260°, with 48% saturation and 12% lightness. For print, the CMYK equivalent is 43% cyan, 65% magenta, 0% yellow and 82% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.14:1).
#1A102E color codes
| HEX | #1A102E | |
|---|---|---|
| RGB | rgb(26, 16, 46) | |
| RGB percent | rgb(10.2%, 6.3%, 18%) | |
| HSL | hsl(260, 48%, 12%) | |
| HSV / HSB | hsv(260, 65%, 18%) | |
| CMYK | cmyk(43%, 65%, 0%, 82%) | |
| CIE LAB | lab(7.11, 13.62, -18.31) | |
| CIE LCH | lch(7.11, 22.82, 306.64) | |
| CIE XYZ | xyz(1.104, 0.787, 2.678) | |
| Decimal | 1708078 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A102E, 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 #1A102E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.14:1 | Pass | Pass | Pass |
| #1A102E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.14:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #1A102E looks to people with the most common types of color vision deficiency.
#05162fProtanopia
no red cones#07152dDeuteranopia
no green cones#15161cTritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #1a102e; }
.text { color: #1a102e; }
.border { border: 2px solid #1a102e; }
.transparent { background-color: rgb(26 16 46 / 50%); }
.gradient { background: linear-gradient(to right, #1a102e, #29102e); }
Similar colors
#1c0f33Midnight Monarch#160435Quiet Abyss#2a2243Midnight Velvet#060929Mysterious Depths#071037Infinite Night#2b0f2eDark Prom Queen#301934Dark Purple#03012dMidnight
Questions
- What color is #1A102E?
- #1A102E is a very dark, desaturated violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #1A102E?
- The RGB value is 26, 16, 46: 26 red, 16 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #1A102E?
- The complementary color is #242E10, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A102E?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.14:1. WCAG asks for at least 4.5:1 for normal text.