#254051 color
The hex color #254051 is a dark, desaturated azure.
In the RGB color model it is made of 14.5% red, 25.1% green and 31.8% blue (37, 64, 81).
Its hue angle is 203°, with 37% saturation and 23% lightness. For print, the CMYK equivalent is 54% cyan, 21% magenta, 0% yellow and 68% black.
The closest named color is Depths of the Nile (#253F4E), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.88:1).
#254051 color codes
| HEX | #254051 | |
|---|---|---|
| RGB | rgb(37, 64, 81) | |
| RGB percent | rgb(14.5%, 25.1%, 31.8%) | |
| HSL | hsl(203, 37%, 23%) | |
| HSV / HSB | hsv(203, 54%, 32%) | |
| CMYK | cmyk(54%, 21%, 0%, 68%) | |
| CIE LAB | lab(25.72, -4.76, -13.42) | |
| CIE LCH | lch(25.72, 14.24, 250.46) | |
| CIE XYZ | xyz(4.081, 4.654, 8.466) | |
| Decimal | 2441297 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #254051, 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 #254051 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.93:1 | Fail | Fail | Fail |
| Sample text | 10.88:1 | Pass | Pass | Pass |
| #254051 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.88:1 | Pass | Pass | Pass |
| Sample text | 1.93: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 #254051 looks to people with the most common types of color vision deficiency.
#384052Protanopia
no red cones#323b51Deuteranopia
no green cones#0f4446Tritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #254051; }
.text { color: #254051; }
.border { border: 2px solid #254051; }
.transparent { background-color: rgb(37 64 81 / 50%); }
.gradient { background: linear-gradient(to right, #254051, #252a51); }
Similar colors
#253f4eDepths of the Nile#1a4157Capital Blue#29465bOne Year of Rain#1e3642Into the Night#1e3442Blue Whale#203943Astral Nomad#36454fCharcoal#004058Maniac Mansion
Questions
- What color is #254051?
- #254051 is a dark, desaturated azure, closest to the named color Depths of the Nile. It belongs to the blue family of colors.
- What is the RGB value of #254051?
- The RGB value is 37, 64, 81: 37 red, 64 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #254051?
- The complementary color is #513625, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #254051?
- White text. Black text has a contrast ratio of 1.93:1 and white text 10.88:1. WCAG asks for at least 4.5:1 for normal text.