#262242 color
The hex color #262242 is a very dark, desaturated blue.
In the RGB color model it is made of 14.9% red, 13.3% green and 25.9% blue (38, 34, 66).
Its hue angle is 248°, with 32% saturation and 20% lightness. For print, the CMYK equivalent is 42% cyan, 48% magenta, 0% yellow and 74% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.11:1).
#262242 color codes
| HEX | #262242 | |
|---|---|---|
| RGB | rgb(38, 34, 66) | |
| RGB percent | rgb(14.9%, 13.3%, 25.9%) | |
| HSL | hsl(248, 32%, 20%) | |
| HSV / HSB | hsv(248, 48%, 26%) | |
| CMYK | cmyk(42%, 48%, 0%, 74%) | |
| CIE LAB | lab(15.22, 11.19, -19.68) | |
| CIE LCH | lch(15.22, 22.64, 299.62) | |
| CIE XYZ | xyz(2.354, 1.949, 5.405) | |
| Decimal | 2499138 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #262242, 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 #262242 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.39:1 | Fail | Fail | Fail |
| Sample text | 15.11:1 | Pass | Pass | Pass |
| #262242 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.11:1 | Pass | Pass | Pass |
| Sample text | 1.39: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 #262242 looks to people with the most common types of color vision deficiency.
#172743Protanopia
no red cones#172541Deuteranopia
no green cones#1f282eTritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #262242; }
.text { color: #262242; }
.border { border: 2px solid #262242; }
.transparent { background-color: rgb(38 34 66 / 50%); }
.gradient { background: linear-gradient(to right, #262242, #362242); }
Similar colors
#2a2243Midnight Velvet#222244Black Market#2a2551Pāua#211d49Azulado#161d3bNightwalker#372d52Midnight Pie#322c56Purple Noir#2c2c57Deep Sea Base
Closest common color name: Dark Purple.
Questions
- What color is #262242?
- #262242 is a very dark, desaturated blue, closest to the named color Midnight Velvet. It belongs to the blue family of colors.
- What is the RGB value of #262242?
- The RGB value is 38, 34, 66: 38 red, 34 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #262242?
- The complementary color is #3E4222, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #262242?
- White text. Black text has a contrast ratio of 1.39:1 and white text 15.11:1. WCAG asks for at least 4.5:1 for normal text.