#5F6F98 color
The hex color #5F6F98 is a grayish blue.
In the RGB color model it is made of 37.3% red, 43.5% green and 59.6% blue (95, 111, 152).
Its hue angle is 223°, with 23% saturation and 48% lightness. For print, the CMYK equivalent is 38% cyan, 27% magenta, 0% yellow and 40% black.
The closest named color is Haunt Mist (#5F6D91), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.98:1).
#5F6F98 color codes
| HEX | #5F6F98 | |
|---|---|---|
| RGB | rgb(95, 111, 152) | |
| RGB percent | rgb(37.3%, 43.5%, 59.6%) | |
| HSL | hsl(223, 23%, 48%) | |
| HSV / HSB | hsv(223, 38%, 60%) | |
| CMYK | cmyk(38%, 27%, 0%, 40%) | |
| CIE LAB | lab(47.06, 4.65, -24.18) | |
| CIE LCH | lch(47.06, 24.62, 280.89) | |
| CIE XYZ | xyz(16.07, 16.068, 31.954) | |
| Decimal | 6254488 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F6F98, 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 #5F6F98 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.21:1 | Fail | Fail | Pass |
| Sample text | 4.98:1 | Pass | Fail | Pass |
| #5F6F98 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.98:1 | Pass | Fail | Pass |
| Sample text | 4.21:1 | Fail | 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 #5F6F98 looks to people with the most common types of color vision deficiency.
#61729aProtanopia
no red cones#5c6d97Deuteranopia
no green cones#4e777dTritanopia
no blue cones#707070Achromatopsia
no color vision
CSS examples
.background { background-color: #5f6f98; }
.text { color: #5f6f98; }
.border { border: 2px solid #5f6f98; }
.transparent { background-color: rgb(95 111 152 / 50%); }
.gradient { background: linear-gradient(to right, #5f6f98, #6c5f98); }
Similar colors
#5f6d91Haunt Mist#65769aMisty Harbour#636ca8Twinkle Night#577396Clean Slate#5879a2Montreux Blue#5a789aQuiet Harbour#5d6098Wizard’s Potion#466590Sea of Galilee
Closest common color name: Slate Gray.
Questions
- What color is #5F6F98?
- #5F6F98 is a grayish blue, closest to the named color Haunt Mist. It belongs to the blue family of colors.
- What is the RGB value of #5F6F98?
- The RGB value is 95, 111, 152: 95 red, 111 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #5F6F98?
- The complementary color is #98885F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F6F98?
- White text. Black text has a contrast ratio of 4.21:1 and white text 4.98:1. WCAG asks for at least 4.5:1 for normal text.