#262F3A color
The hex color #262F3A is a very dark, grayish azure.
In the RGB color model it is made of 14.9% red, 18.4% green and 22.7% blue (38, 47, 58).
Its hue angle is 213°, with 21% saturation and 19% lightness. For print, the CMYK equivalent is 34% cyan, 19% magenta, 0% yellow and 77% black.
The closest named color is Infinity (#222831), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.55:1).
#262F3A color codes
| HEX | #262F3A | |
|---|---|---|
| RGB | rgb(38, 47, 58) | |
| RGB percent | rgb(14.9%, 18.4%, 22.7%) | |
| HSL | hsl(213, 21%, 19%) | |
| HSV / HSB | hsv(213, 34%, 23%) | |
| CMYK | cmyk(34%, 19%, 0%, 77%) | |
| CIE LAB | lab(19.02, -0.67, -8.25) | |
| CIE LCH | lch(19.02, 8.27, 265.32) | |
| CIE XYZ | xyz(2.579, 2.75, 4.397) | |
| Decimal | 2502458 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262F3A, 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 #262F3A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.55:1 | Pass | Pass | Pass |
| #262F3A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.55:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #262F3A looks to people with the most common types of color vision deficiency.
#2b2f3bProtanopia
no red cones#292d3aDeuteranopia
no green cones#203133Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #262f3a; }
.text { color: #262f3a; }
.border { border: 2px solid #262f3a; }
.transparent { background-color: rgb(38 47 58 / 50%); }
.gradient { background: linear-gradient(to right, #262f3a, #27263a); }
Similar colors
#222831Infinity#1b2431Dark#292b31Night Sky#303543Total Eclipse#242a2eCinder#293135Nightmare Fuel#2a3439Gunmetal#363b43Do Not Disturb
Questions
- What color is #262F3A?
- #262F3A 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 #262F3A?
- The RGB value is 38, 47, 58: 38 red, 47 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #262F3A?
- The complementary color is #3A3126, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262F3A?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.55:1. WCAG asks for at least 4.5:1 for normal text.