#252642 color
The hex color #252642 is a dark, desaturated blue.
In the RGB color model it is made of 14.5% red, 14.9% green and 25.9% blue (37, 38, 66).
Its hue angle is 238°, with 28% saturation and 20% lightness. For print, the CMYK equivalent is 44% cyan, 42% magenta, 0% yellow and 74% black.
The closest named color is Black Market (#222244), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.64:1).
#252642 color codes
| HEX | #252642 | |
|---|---|---|
| RGB | rgb(37, 38, 66) | |
| RGB percent | rgb(14.5%, 14.9%, 25.9%) | |
| HSL | hsl(238, 28%, 20%) | |
| HSV / HSB | hsv(238, 44%, 26%) | |
| CMYK | cmyk(44%, 42%, 0%, 74%) | |
| CIE LAB | lab(16.37, 7.96, -17.87) | |
| CIE LCH | lch(16.37, 19.56, 294.01) | |
| CIE XYZ | xyz(2.439, 2.173, 5.444) | |
| Decimal | 2434626 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #252642, 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 #252642 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.64:1 | Pass | Pass | Pass |
| #252642 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.64:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #252642 looks to people with the most common types of color vision deficiency.
#1d2a43Protanopia
no red cones#1b2841Deuteranopia
no green cones#1d2b30Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #252642; }
.text { color: #252642; }
.border { border: 2px solid #252642; }
.transparent { background-color: rgb(37 38 66 / 50%); }
.gradient { background: linear-gradient(to right, #252642, #332542); }
Similar colors
#222244Black Market#2c2e47Midnight Masquerade#161d3bNightwalker#2a2243Midnight Velvet#21263aMidnight Express#151931Dark Knight#1f2133Eclipse Elixir#222233Black Velvet
Closest common color name: Oxford Blue.
Questions
- What color is #252642?
- #252642 is a dark, desaturated blue, closest to the named color Black Market. It belongs to the blue family of colors.
- What is the RGB value of #252642?
- The RGB value is 37, 38, 66: 37 red, 38 green and 66 blue on a 0 to 255 scale.
- What is the complementary color of #252642?
- The complementary color is #424125, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #252642?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.64:1. WCAG asks for at least 4.5:1 for normal text.