#25213E color
The hex color #25213E is a very dark, desaturated blue.
In the RGB color model it is made of 14.5% red, 12.9% green and 24.3% blue (37, 33, 62).
Its hue angle is 248°, with 31% saturation and 19% lightness. For print, the CMYK equivalent is 40% cyan, 47% magenta, 0% yellow and 76% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.38:1).
#25213E color codes
| HEX | #25213E | |
|---|---|---|
| RGB | rgb(37, 33, 62) | |
| RGB percent | rgb(14.5%, 12.9%, 24.3%) | |
| HSL | hsl(248, 31%, 19%) | |
| HSV / HSB | hsv(248, 47%, 24%) | |
| CMYK | cmyk(40%, 47%, 0%, 76%) | |
| CIE LAB | lab(14.56, 10.24, -17.93) | |
| CIE LCH | lch(14.56, 20.65, 299.74) | |
| CIE XYZ | xyz(2.176, 1.829, 4.795) | |
| Decimal | 2433342 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #25213E, 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 #25213E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.38:1 | Pass | Pass | Pass |
| #25213E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.38:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #25213E looks to people with the most common types of color vision deficiency.
#18253fProtanopia
no red cones#18243dDeuteranopia
no green cones#1f262cTritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #25213e; }
.text { color: #25213e; }
.border { border: 2px solid #25213e; }
.transparent { background-color: rgb(37 33 62 / 50%); }
.gradient { background: linear-gradient(to right, #25213e, #34213e); }
Similar colors
#2a2243Midnight Velvet#222244Black Market#161d3bNightwalker#151931Dark Knight#211d49Azulado#2c2e47Midnight Masquerade#2a2551Pāua#372d52Midnight Pie
Closest common color name: Dark Purple.
Questions
- What color is #25213E?
- #25213E 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 #25213E?
- The RGB value is 37, 33, 62: 37 red, 33 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #25213E?
- The complementary color is #3A3E21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #25213E?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.38:1. WCAG asks for at least 4.5:1 for normal text.