#262D3A color
The hex color #262D3A is a very dark, grayish azure.
In the RGB color model it is made of 14.9% red, 17.6% green and 22.7% blue (38, 45, 58).
Its hue angle is 219°, with 21% saturation and 19% lightness. For print, the CMYK equivalent is 34% cyan, 22% magenta, 0% yellow and 77% black.
The closest named color is Infinity (#222831), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.83:1).
#262D3A color codes
| HEX | #262D3A | |
|---|---|---|
| RGB | rgb(38, 45, 58) | |
| RGB percent | rgb(14.9%, 17.6%, 22.7%) | |
| HSL | hsl(219, 21%, 19%) | |
| HSV / HSB | hsv(219, 34%, 23%) | |
| CMYK | cmyk(34%, 22%, 0%, 77%) | |
| CIE LAB | lab(18.34, 0.71, -9.28) | |
| CIE LCH | lch(18.34, 9.3, 274.35) | |
| CIE XYZ | xyz(2.501, 2.594, 4.371) | |
| Decimal | 2501946 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262D3A, 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 #262D3A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.83:1 | Pass | Pass | Pass |
| #262D3A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.83:1 | Pass | Pass | Pass |
| Sample text | 1.52: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 #262D3A looks to people with the most common types of color vision deficiency.
#292e3bProtanopia
no red cones#272c3aDeuteranopia
no green cones#203031Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #262d3a; }
.text { color: #262d3a; }
.border { border: 2px solid #262d3a; }
.transparent { background-color: rgb(38 45 58 / 50%); }
.gradient { background: linear-gradient(to right, #262d3a, #29263a); }
Similar colors
#222831Infinity#303543Total Eclipse#1b2431Dark#1e2433Moonless Mystery#292b31Night Sky#29292fJaguar#2c2a35Haiti#21263aMidnight Express
Closest common color name: Gunmetal.
Questions
- What color is #262D3A?
- #262D3A is a very dark, grayish azure, closest to the named color Infinity. It belongs to the black family of colors.
- What is the RGB value of #262D3A?
- The RGB value is 38, 45, 58: 38 red, 45 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #262D3A?
- The complementary color is #3A3326, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262D3A?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.83:1. WCAG asks for at least 4.5:1 for normal text.