#251F54 color
The hex color #251F54 is a dark, desaturated blue.
In the RGB color model it is made of 14.5% red, 12.2% green and 32.9% blue (37, 31, 84).
Its hue angle is 247°, with 46% saturation and 23% lightness. For print, the CMYK equivalent is 56% cyan, 63% magenta, 0% yellow and 67% black.
The closest named color is Silent Orbit (#231C4D), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.97:1).
#251F54 color codes
| HEX | #251F54 | |
|---|---|---|
| RGB | rgb(37, 31, 84) | |
| RGB percent | rgb(14.5%, 12.2%, 32.9%) | |
| HSL | hsl(247, 46%, 23%) | |
| HSV / HSB | hsv(247, 63%, 33%) | |
| CMYK | cmyk(56%, 63%, 0%, 67%) | |
| CIE LAB | lab(15.56, 19.37, -31.48) | |
| CIE LCH | lch(15.56, 36.96, 301.6) | |
| CIE XYZ | xyz(2.853, 2.013, 8.624) | |
| Decimal | 2432852 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #251F54, 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 #251F54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.97:1 | Pass | Pass | Pass |
| #251F54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.97:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #251F54 looks to people with the most common types of color vision deficiency.
#002856Protanopia
no red cones#002553Deuteranopia
no green cones#132b36Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #251f54; }
.text { color: #251f54; }
.border { border: 2px solid #251f54; }
.transparent { background-color: rgb(37 31 84 / 50%); }
.gradient { background: linear-gradient(to right, #251f54, #401f54); }
Similar colors
#231c4dSilent Orbit#222255Spacescape#1c1e4dFly-by-Night#211d49Azulado#2a2551Pāua#2e2364Indie Go#222266Intergalactic Cowboy#332266Dark Dreams
Closest common color name: Midnight Blue.
Questions
- What color is #251F54?
- #251F54 is a dark, desaturated blue, closest to the named color Silent Orbit. It belongs to the blue family of colors.
- What is the RGB value of #251F54?
- The RGB value is 37, 31, 84: 37 red, 31 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #251F54?
- The complementary color is #4E541F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #251F54?
- White text. Black text has a contrast ratio of 1.4:1 and white text 14.97:1. WCAG asks for at least 4.5:1 for normal text.