#253040 color
The hex color #253040 is a very dark, desaturated azure.
In the RGB color model it is made of 14.5% red, 18.8% green and 25.1% blue (37, 48, 64).
Its hue angle is 216°, with 27% saturation and 20% lightness. For print, the CMYK equivalent is 42% cyan, 25% magenta, 0% yellow and 75% black.
The closest named color is Total Eclipse (#303543), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.33:1).
#253040 color codes
| HEX | #253040 | |
|---|---|---|
| RGB | rgb(37, 48, 64) | |
| RGB percent | rgb(14.5%, 18.8%, 25.1%) | |
| HSL | hsl(216, 27%, 20%) | |
| HSV / HSB | hsv(216, 42%, 25%) | |
| CMYK | cmyk(42%, 25%, 0%, 75%) | |
| CIE LAB | lab(19.55, 0.19, -11.56) | |
| CIE LCH | lch(19.55, 11.56, 270.95) | |
| CIE XYZ | xyz(2.745, 2.877, 5.26) | |
| Decimal | 2437184 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #253040, 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 #253040 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.33:1 | Pass | Pass | Pass |
| #253040 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.33:1 | Pass | Pass | Pass |
| Sample text | 1.58: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 #253040 looks to people with the most common types of color vision deficiency.
#2a3141Protanopia
no red cones#272e40Deuteranopia
no green cones#1c3335Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #253040; }
.text { color: #253040; }
.border { border: 2px solid #253040; }
.transparent { background-color: rgb(37 48 64 / 50%); }
.gradient { background: linear-gradient(to right, #253040, #282540); }
Similar colors
#303543Total Eclipse#1b2431Dark#222831Infinity#1e2433Moonless Mystery#353f51Dark & Stormy#1e3442Blue Whale#1c2841Eternal Darkness#21263aMidnight Express
Closest common color name: Gunmetal.
Questions
- What color is #253040?
- #253040 is a very dark, desaturated azure, closest to the named color Total Eclipse. It belongs to the black family of colors.
- What is the RGB value of #253040?
- The RGB value is 37, 48, 64: 37 red, 48 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #253040?
- The complementary color is #403525, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #253040?
- White text. Black text has a contrast ratio of 1.58:1 and white text 13.33:1. WCAG asks for at least 4.5:1 for normal text.