#5F78AC color
The hex color #5F78AC is a desaturated blue.
In the RGB color model it is made of 37.3% red, 47.1% green and 67.5% blue (95, 120, 172).
Its hue angle is 221°, with 32% saturation and 52% lightness. For print, the CMYK equivalent is 45% cyan, 30% magenta, 0% yellow and 33% black.
The closest named color is Endless River (#567AAD), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.77:1).
#5F78AC color codes
| HEX | #5F78AC | |
|---|---|---|
| RGB | rgb(95, 120, 172) | |
| RGB percent | rgb(37.3%, 47.1%, 67.5%) | |
| HSL | hsl(221, 32%, 52%) | |
| HSV / HSB | hsv(221, 45%, 67%) | |
| CMYK | cmyk(45%, 30%, 0%, 33%) | |
| CIE LAB | lab(50.5, 5.08, -30.54) | |
| CIE LCH | lch(50.5, 30.96, 279.45) | |
| CIE XYZ | xyz(18.88, 18.843, 41.664) | |
| Decimal | 6256812 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F78AC, 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 #5F78AC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.77:1 | Pass | Fail | Pass |
| Sample text | 4.4:1 | Fail | Fail | Pass |
| #5F78AC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.4:1 | Fail | Fail | Pass |
| Sample text | 4.77: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 #5F78AC looks to people with the most common types of color vision deficiency.
#657caeProtanopia
no red cones#5d75abDeuteranopia
no green cones#43838aTritanopia
no blue cones#787878Achromatopsia
no color vision
CSS examples
.background { background-color: #5f78ac; }
.text { color: #5f78ac; }
.border { border: 2px solid #5f78ac; }
.transparent { background-color: rgb(95 120 172 / 50%); }
.gradient { background: linear-gradient(to right, #5f78ac, #6d5fac); }
Similar colors
#567aadEndless River#6677bbFlood#5879a2Montreux Blue#65769aMisty Harbour#5a789aQuiet Harbour#5f6db0Loch Ness#577396Clean Slate#4a73a8Song of the Sea
Closest common color name: Steel Blue.
Questions
- What color is #5F78AC?
- #5F78AC 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 #5F78AC?
- The RGB value is 95, 120, 172: 95 red, 120 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #5F78AC?
- The complementary color is #AC935F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F78AC?
- Black text. Black text has a contrast ratio of 4.77:1 and white text 4.4:1. WCAG asks for at least 4.5:1 for normal text.