#1A2D31 color
The hex color #1A2D31 is a very dark, desaturated cyan.
In the RGB color model it is made of 10.2% red, 17.6% green and 19.2% blue (26, 45, 49).
Its hue angle is 190°, with 31% saturation and 15% lightness. For print, the CMYK equivalent is 47% cyan, 8% magenta, 0% yellow and 81% black.
The closest named color is Black Box (#0F282F), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.35:1).
#1A2D31 color codes
| HEX | #1A2D31 | |
|---|---|---|
| RGB | rgb(26, 45, 49) | |
| RGB percent | rgb(10.2%, 17.6%, 19.2%) | |
| HSL | hsl(190, 31%, 15%) | |
| HSV / HSB | hsv(190, 47%, 19%) | |
| CMYK | cmyk(47%, 8%, 0%, 81%) | |
| CIE LAB | lab(17.07, -6.42, -5.02) | |
| CIE LCH | lch(17.07, 8.16, 218.03) | |
| CIE XYZ | xyz(1.919, 2.318, 3.251) | |
| Decimal | 1715505 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A2D31, 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 #1A2D31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.35:1 | Pass | Pass | Pass |
| #1A2D31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.35:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #1A2D31 looks to people with the most common types of color vision deficiency.
#2a2c31Protanopia
no red cones#262931Deuteranopia
no green cones#112f2eTritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #1a2d31; }
.text { color: #1a2d31; }
.border { border: 2px solid #1a2d31; }
.transparent { background-color: rgb(26 45 49 / 50%); }
.gradient { background: linear-gradient(to right, #1a2d31, #1a2231); }
Similar colors
#0f282fBlack Box#10252aSunken Ship#133337Elite Teal#172b36Oceanic Noir#1e272cBlack Pearl#203943Astral Nomad#293432Aztec#162825Swamp Thing
Closest common color name: Gunmetal.
Questions
- What color is #1A2D31?
- #1A2D31 is a very dark, desaturated cyan, closest to the named color Black Box. It belongs to the black family of colors.
- What is the RGB value of #1A2D31?
- The RGB value is 26, 45, 49: 26 red, 45 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #1A2D31?
- The complementary color is #311E1A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A2D31?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.35:1. WCAG asks for at least 4.5:1 for normal text.