#262F3C color
The hex color #262F3C is a very dark, grayish azure.
In the RGB color model it is made of 14.9% red, 18.4% green and 23.5% blue (38, 47, 60).
Its hue angle is 215°, with 22% saturation and 19% lightness. For print, the CMYK equivalent is 37% cyan, 22% magenta, 0% yellow and 76% black.
The closest named color is Infinity (#222831), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.51:1).
#262F3C color codes
| HEX | #262F3C | |
|---|---|---|
| RGB | rgb(38, 47, 60) | |
| RGB percent | rgb(14.9%, 18.4%, 23.5%) | |
| HSL | hsl(215, 22%, 19%) | |
| HSV / HSB | hsv(215, 37%, 24%) | |
| CMYK | cmyk(37%, 22%, 0%, 76%) | |
| CIE LAB | lab(19.1, -0.05, -9.49) | |
| CIE LCH | lch(19.1, 9.49, 269.68) | |
| CIE XYZ | xyz(2.631, 2.771, 4.67) | |
| Decimal | 2502460 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262F3C, 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 #262F3C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.51:1 | Pass | Pass | Pass |
| #262F3C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.51: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 #262F3C looks to people with the most common types of color vision deficiency.
#2a303dProtanopia
no red cones#282d3cDeuteranopia
no green cones#203233Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #262f3c; }
.text { color: #262f3c; }
.border { border: 2px solid #262f3c; }
.transparent { background-color: rgb(38 47 60 / 50%); }
.gradient { background: linear-gradient(to right, #262f3c, #28263c); }
Similar colors
#222831Infinity#303543Total Eclipse#1b2431Dark#1e2433Moonless Mystery#292b31Night Sky#363b43Do Not Disturb#1e3442Blue Whale#29292fJaguar
Closest common color name: Gunmetal.
Questions
- What color is #262F3C?
- #262F3C 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 #262F3C?
- The RGB value is 38, 47, 60: 38 red, 47 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #262F3C?
- The complementary color is #3C3326, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262F3C?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.51:1. WCAG asks for at least 4.5:1 for normal text.