#1A2331 color
The hex color #1A2331 is a very dark, desaturated azure.
In the RGB color model it is made of 10.2% red, 13.7% green and 19.2% blue (26, 35, 49).
Its hue angle is 217°, with 31% saturation and 15% lightness. For print, the CMYK equivalent is 47% cyan, 29% magenta, 0% yellow and 81% black.
The closest named color is Dark (#1B2431), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.81:1).
#1A2331 color codes
| HEX | #1A2331 | |
|---|---|---|
| RGB | rgb(26, 35, 49) | |
| RGB percent | rgb(10.2%, 13.7%, 19.2%) | |
| HSL | hsl(217, 31%, 15%) | |
| HSV / HSB | hsv(217, 47%, 19%) | |
| CMYK | cmyk(47%, 29%, 0%, 81%) | |
| CIE LAB | lab(13.49, 0.52, -10.48) | |
| CIE LCH | lch(13.49, 10.49, 272.85) | |
| CIE XYZ | xyz(1.581, 1.643, 3.139) | |
| Decimal | 1712945 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A2331, 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 #1A2331 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.81:1 | Pass | Pass | Pass |
| #1A2331 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.81: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 #1A2331 looks to people with the most common types of color vision deficiency.
#1e2432Protanopia
no red cones#1b2231Deuteranopia
no green cones#122628Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #1a2331; }
.text { color: #1a2331; }
.border { border: 2px solid #1a2331; }
.transparent { background-color: rgb(26 35 49 / 50%); }
.gradient { background: linear-gradient(to right, #1a2331, #1c1a31); }
Similar colors
#1b2431Dark#1e2433Moonless Mystery#102030The Count’s Black#222831Infinity#0e1d32Trapped Darkness#21263aMidnight Express#1f2133Eclipse Elixir#161e34Sombre Night
Closest common color name: Gunmetal.
Questions
- What color is #1A2331?
- #1A2331 is a very dark, desaturated azure, closest to the named color Dark. It belongs to the black family of colors.
- What is the RGB value of #1A2331?
- The RGB value is 26, 35, 49: 26 red, 35 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #1A2331?
- The complementary color is #31281A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A2331?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.81:1. WCAG asks for at least 4.5:1 for normal text.