#25273F color
The hex color #25273F is a very dark, desaturated blue.
In the RGB color model it is made of 14.5% red, 15.3% green and 24.7% blue (37, 39, 63).
Its hue angle is 235°, with 26% saturation and 20% lightness. For print, the CMYK equivalent is 41% cyan, 38% magenta, 0% yellow and 75% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.58:1).
#25273F color codes
| HEX | #25273F | |
|---|---|---|
| RGB | rgb(37, 39, 63) | |
| RGB percent | rgb(14.5%, 15.3%, 24.7%) | |
| HSL | hsl(235, 26%, 20%) | |
| HSV / HSB | hsv(235, 41%, 25%) | |
| CMYK | cmyk(41%, 38%, 0%, 75%) | |
| CIE LAB | lab(16.52, 6.22, -15.56) | |
| CIE LCH | lch(16.52, 16.76, 291.8) | |
| CIE XYZ | xyz(2.385, 2.203, 5.001) | |
| Decimal | 2434879 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #25273F, 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 #25273F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.58:1 | Pass | Pass | Pass |
| #25273F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.58:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #25273F looks to people with the most common types of color vision deficiency.
#1f2a40Protanopia
no red cones#1e283eDeuteranopia
no green cones#1e2c30Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #25273f; }
.text { color: #25273f; }
.border { border: 2px solid #25273f; }
.transparent { background-color: rgb(37 39 63 / 50%); }
.gradient { background: linear-gradient(to right, #25273f, #30253f); }
Similar colors
#2c2e47Midnight Masquerade#21263aMidnight Express#1f2133Eclipse Elixir#222233Black Velvet#1c2841Eternal Darkness#161e34Sombre Night#222244Black Market#161d3bNightwalker
Closest common color name: Oxford Blue.
Questions
- What color is #25273F?
- #25273F is a very dark, desaturated blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #25273F?
- The RGB value is 37, 39, 63: 37 red, 39 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #25273F?
- The complementary color is #3F3D25, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #25273F?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.58:1. WCAG asks for at least 4.5:1 for normal text.