#262A34 color
The hex color #262A34 is a very dark, grayish blue.
In the RGB color model it is made of 14.9% red, 16.5% green and 20.4% blue (38, 42, 52).
Its hue angle is 223°, with 16% saturation and 18% lightness. For print, the CMYK equivalent is 27% cyan, 19% magenta, 0% yellow and 80% black.
The closest named color is Infinity (#222831), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.35:1).
#262A34 color codes
| HEX | #262A34 | |
|---|---|---|
| RGB | rgb(38, 42, 52) | |
| RGB percent | rgb(14.9%, 16.5%, 20.4%) | |
| HSL | hsl(223, 16%, 18%) | |
| HSV / HSB | hsv(223, 27%, 20%) | |
| CMYK | cmyk(27%, 19%, 0%, 80%) | |
| CIE LAB | lab(17.06, 0.98, -7.05) | |
| CIE LCH | lch(17.06, 7.11, 277.93) | |
| CIE XYZ | xyz(2.247, 2.316, 3.577) | |
| Decimal | 2501172 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262A34, 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 #262A34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.35:1 | Pass | Pass | Pass |
| #262A34 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 #262A34 looks to people with the most common types of color vision deficiency.
#272b34Protanopia
no red cones#262934Deuteranopia
no green cones#232c2dTritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #262a34; }
.text { color: #262a34; }
.border { border: 2px solid #262a34; }
.transparent { background-color: rgb(38 42 52 / 50%); }
.gradient { background: linear-gradient(to right, #262a34, #292634); }
Similar colors
#222831Infinity#292b31Night Sky#29292fJaguar#1b2431Dark#28282dAnthracite#1e2433Moonless Mystery#2b2c30Caviar#2c2a35Haiti
Closest common color name: Gunmetal.
Questions
- What color is #262A34?
- #262A34 is a very dark, grayish blue, closest to the named color Infinity. It belongs to the black family of colors.
- What is the RGB value of #262A34?
- The RGB value is 38, 42, 52: 38 red, 42 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #262A34?
- The complementary color is #343026, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262A34?
- 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.