#254D88 color
The hex color #254D88 is a dark, moderate azure.
In the RGB color model it is made of 14.5% red, 30.2% green and 53.3% blue (37, 77, 136).
Its hue angle is 216°, with 57% saturation and 34% lightness. For print, the CMYK equivalent is 73% cyan, 43% magenta, 0% yellow and 47% black.
The closest named color is Night Mode (#234E86), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.41:1).
#254D88 color codes
| HEX | #254D88 | |
|---|---|---|
| RGB | rgb(37, 77, 136) | |
| RGB percent | rgb(14.5%, 30.2%, 53.3%) | |
| HSL | hsl(216, 57%, 34%) | |
| HSV / HSB | hsv(216, 73%, 53%) | |
| CMYK | cmyk(73%, 43%, 0%, 47%) | |
| CIE LAB | lab(32.87, 7.18, -37.08) | |
| CIE LCH | lch(32.87, 37.77, 280.96) | |
| CIE XYZ | xyz(7.859, 7.478, 24.317) | |
| Decimal | 2444680 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #254D88, 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 #254D88 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.5:1 | Fail | Fail | Fail |
| Sample text | 8.41:1 | Pass | Pass | Pass |
| #254D88 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.41:1 | Pass | Pass | Pass |
| Sample text | 2.5: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 #254D88 looks to people with the most common types of color vision deficiency.
#31528aProtanopia
no red cones#204987Deuteranopia
no green cones#005b64Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #254d88; }
.text { color: #254d88; }
.border { border: 2px solid #254d88; }
.transparent { background-color: rgb(37 77 136 / 50%); }
.gradient { background: linear-gradient(to right, #254d88, #2f2588); }
Similar colors
#234e86Night Mode#1c4c8cOlympian Blue#1c4d8fDancing Sea#2d4f83Assassin#244e94Le Grand Bleu#2e5090Nightly Activities#2d5284Galaxy Blue#25488aPacific Navy
Closest common color name: Cobalt Blue.
Questions
- What color is #254D88?
- #254D88 is a dark, moderate azure, closest to the named color Night Mode. It belongs to the blue family of colors.
- What is the RGB value of #254D88?
- The RGB value is 37, 77, 136: 37 red, 77 green and 136 blue on a 0 to 255 scale.
- What is the complementary color of #254D88?
- The complementary color is #886025, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #254D88?
- White text. Black text has a contrast ratio of 2.5:1 and white text 8.41:1. WCAG asks for at least 4.5:1 for normal text.