#254170 color
The hex color #254170 is a dark, moderate azure.
In the RGB color model it is made of 14.5% red, 25.5% green and 43.9% blue (37, 65, 112).
Its hue angle is 218°, with 50% saturation and 29% lightness. For print, the CMYK equivalent is 67% cyan, 42% magenta, 0% yellow and 56% black.
The closest named color is Nightlife (#27426B), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.15:1).
#254170 color codes
| HEX | #254170 | |
|---|---|---|
| RGB | rgb(37, 65, 112) | |
| RGB percent | rgb(14.5%, 25.5%, 43.9%) | |
| HSL | hsl(218, 50%, 29%) | |
| HSV / HSB | hsv(218, 67%, 44%) | |
| CMYK | cmyk(67%, 42%, 0%, 56%) | |
| CIE LAB | lab(27.69, 5.97, -30.35) | |
| CIE LCH | lch(27.69, 30.93, 281.12) | |
| CIE XYZ | xyz(5.577, 5.343, 16.064) | |
| Decimal | 2441584 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #254170, 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 #254170 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.07:1 | Fail | Fail | Fail |
| Sample text | 10.15:1 | Pass | Pass | Pass |
| #254170 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.15:1 | Pass | Pass | Pass |
| Sample text | 2.07: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 #254170 looks to people with the most common types of color vision deficiency.
#2c4572Protanopia
no red cones#213e6fDeuteranopia
no green cones#004c53Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #254170; }
.text { color: #254170; }
.border { border: 2px solid #254170; }
.transparent { background-color: rgb(37 65 112 / 50%); }
.gradient { background: linear-gradient(to right, #254170, #2f2570); }
Similar colors
#27426bNightlife#2d4470Blue Funk#2c4170Napoleonic Blue#1b416fAegean Blue#324471Space Missions#254770Pretty Twilight Night#1e4581Maritime Outpost#314a76Dragonfly
Closest common color name: Prussian Blue.
Questions
- What color is #254170?
- #254170 is a dark, moderate azure, closest to the named color Nightlife. It belongs to the blue family of colors.
- What is the RGB value of #254170?
- The RGB value is 37, 65, 112: 37 red, 65 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #254170?
- The complementary color is #705425, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #254170?
- White text. Black text has a contrast ratio of 2.07:1 and white text 10.15:1. WCAG asks for at least 4.5:1 for normal text.