#262937 color
The hex color #262937 is a very dark, grayish blue.
In the RGB color model it is made of 14.9% red, 16.1% green and 21.6% blue (38, 41, 55).
Its hue angle is 229°, with 18% saturation and 18% lightness. For print, the CMYK equivalent is 31% cyan, 25% magenta, 0% yellow and 78% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.44:1).
#262937 color codes
| HEX | #262937 | |
|---|---|---|
| RGB | rgb(38, 41, 55) | |
| RGB percent | rgb(14.9%, 16.1%, 21.6%) | |
| HSL | hsl(229, 18%, 18%) | |
| HSV / HSB | hsv(229, 31%, 22%) | |
| CMYK | cmyk(31%, 25%, 0%, 78%) | |
| CIE LAB | lab(16.86, 2.59, -9.45) | |
| CIE LCH | lch(16.86, 9.8, 285.31) | |
| CIE XYZ | xyz(2.282, 2.274, 3.932) | |
| Decimal | 2500919 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262937, 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 #262937 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.44:1 | Pass | Pass | Pass |
| #262937 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.44:1 | Pass | Pass | Pass |
| Sample text | 1.45: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 #262937 looks to people with the most common types of color vision deficiency.
#252a38Protanopia
no red cones#242937Deuteranopia
no green cones#222c2eTritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #262937; }
.text { color: #262937; }
.border { border: 2px solid #262937; }
.transparent { background-color: rgb(38 41 55 / 50%); }
.gradient { background: linear-gradient(to right, #262937, #2c2637); }
Similar colors
#1e2433Moonless Mystery#2c2a35Haiti#21263aMidnight Express#222233Black Velvet#1f2133Eclipse Elixir#1b2431Dark#303543Total Eclipse#222831Infinity
Closest common color name: Gunmetal.
Questions
- What color is #262937?
- #262937 is a very dark, grayish blue, closest to the named color Moonless Mystery. It belongs to the black family of colors.
- What is the RGB value of #262937?
- The RGB value is 38, 41, 55: 38 red, 41 green and 55 blue on a 0 to 255 scale.
- What is the complementary color of #262937?
- The complementary color is #373426, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262937?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.44:1. WCAG asks for at least 4.5:1 for normal text.