#25283B color
The hex color #25283B is a very dark, grayish blue.
In the RGB color model it is made of 14.5% red, 15.7% green and 23.1% blue (37, 40, 59).
Its hue angle is 232°, with 23% saturation and 19% lightness. For print, the CMYK equivalent is 37% cyan, 32% magenta, 0% yellow and 77% black.
The closest named color is Midnight Express (#21263A), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.53:1).
#25283B color codes
| HEX | #25283B | |
|---|---|---|
| RGB | rgb(37, 40, 59) | |
| RGB percent | rgb(14.5%, 15.7%, 23.1%) | |
| HSL | hsl(232, 23%, 19%) | |
| HSV / HSB | hsv(232, 37%, 23%) | |
| CMYK | cmyk(37%, 32%, 0%, 77%) | |
| CIE LAB | lab(16.63, 4.19, -12.6) | |
| CIE LCH | lch(16.63, 13.28, 288.38) | |
| CIE XYZ | xyz(2.311, 2.227, 4.445) | |
| Decimal | 2435131 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #25283B, 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 #25283B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.53:1 | Pass | Pass | Pass |
| #25283B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.53:1 | Pass | Pass | Pass |
| Sample text | 1.45: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 #25283B looks to people with the most common types of color vision deficiency.
#222a3cProtanopia
no red cones#21283bDeuteranopia
no green cones#1f2c2fTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #25283b; }
.text { color: #25283b; }
.border { border: 2px solid #25283b; }
.transparent { background-color: rgb(37 40 59 / 50%); }
.gradient { background: linear-gradient(to right, #25283b, #2d253b); }
Similar colors
#21263aMidnight Express#1f2133Eclipse Elixir#222233Black Velvet#1e2433Moonless Mystery#2c2e47Midnight Masquerade#1c2841Eternal Darkness#161e34Sombre Night#333344Shuriken
Closest common color name: Oxford Blue.
Questions
- What color is #25283B?
- #25283B is a very dark, grayish blue, closest to the named color Midnight Express. It belongs to the blue family of colors.
- What is the RGB value of #25283B?
- The RGB value is 37, 40, 59: 37 red, 40 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #25283B?
- The complementary color is #3B3825, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #25283B?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.53:1. WCAG asks for at least 4.5:1 for normal text.