#5F7DBD color
The hex color #5F7DBD is a desaturated blue.
In the RGB color model it is made of 37.3% red, 49% green and 74.1% blue (95, 125, 189).
Its hue angle is 221°, with 42% saturation and 56% lightness. For print, the CMYK equivalent is 50% cyan, 34% magenta, 0% yellow and 26% black.
The closest named color is Endless River (#567AAD), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.15:1).
#5F7DBD color codes
| HEX | #5F7DBD | |
|---|---|---|
| RGB | rgb(95, 125, 189) | |
| RGB percent | rgb(37.3%, 49%, 74.1%) | |
| HSL | hsl(221, 42%, 56%) | |
| HSV / HSB | hsv(221, 50%, 74%) | |
| CMYK | cmyk(50%, 34%, 0%, 26%) | |
| CIE LAB | lab(52.7, 7.28, -36.9) | |
| CIE LCH | lch(52.7, 37.61, 281.15) | |
| CIE XYZ | xyz(21.235, 20.773, 51.025) | |
| Decimal | 6258109 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F7DBD, 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 #5F7DBD | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.15:1 | Pass | Fail | Pass |
| Sample text | 4.07:1 | Fail | Fail | Pass |
| #5F7DBD as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.07:1 | Fail | Fail | Pass |
| Sample text | 5.15:1 | Pass | Fail | Pass |
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 #5F7DBD looks to people with the most common types of color vision deficiency.
#6582c0Protanopia
no red cones#5a7abcDeuteranopia
no green cones#368b94Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #5f7dbd; }
.text { color: #5f7dbd; }
.border { border: 2px solid #5f7dbd; }
.transparent { background-color: rgb(95 125 189 / 50%); }
.gradient { background: linear-gradient(to right, #5f7dbd, #705fbd); }
Similar colors
#567aadEndless River#507bceSerenity’s Reign#6d83bbOrbital#6677bbFlood#6d86b6Kimono#5879a2Montreux Blue#5182b9Fisher King#5a88c8Marina
Closest common color name: Steel Blue.
Questions
- What color is #5F7DBD?
- #5F7DBD is a desaturated blue, closest to the named color Endless River. It belongs to the blue family of colors.
- What is the RGB value of #5F7DBD?
- The RGB value is 95, 125, 189: 95 red, 125 green and 189 blue on a 0 to 255 scale.
- What is the complementary color of #5F7DBD?
- The complementary color is #BD9F5F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F7DBD?
- Black text. Black text has a contrast ratio of 5.15:1 and white text 4.07:1. WCAG asks for at least 4.5:1 for normal text.