#5F638D color
The hex color #5F638D is a grayish blue.
In the RGB color model it is made of 37.3% red, 38.8% green and 55.3% blue (95, 99, 141).
Its hue angle is 235°, with 19% saturation and 46% lightness. For print, the CMYK equivalent is 33% cyan, 30% magenta, 0% yellow and 45% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.74:1).
#5F638D color codes
| HEX | #5F638D | |
|---|---|---|
| RGB | rgb(95, 99, 141) | |
| RGB percent | rgb(37.3%, 38.8%, 55.3%) | |
| HSL | hsl(235, 19%, 46%) | |
| HSV / HSB | hsv(235, 33%, 55%) | |
| CMYK | cmyk(33%, 30%, 0%, 45%) | |
| CIE LAB | lab(43.18, 8.89, -23.65) | |
| CIE LCH | lch(43.18, 25.26, 290.6) | |
| CIE XYZ | xyz(13.988, 13.279, 27.02) | |
| Decimal | 6251405 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5F638D, 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 #5F638D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.66:1 | Fail | Fail | Pass |
| Sample text | 5.74:1 | Pass | Fail | Pass |
| #5F638D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.74:1 | Pass | Fail | Pass |
| Sample text | 3.66: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 #5F638D looks to people with the most common types of color vision deficiency.
#57688fProtanopia
no red cones#54648cDeuteranopia
no green cones#536b72Tritanopia
no blue cones#666666Achromatopsia
no color vision
CSS examples
.background { background-color: #5f638d; }
.text { color: #5f638d; }
.border { border: 2px solid #5f638d; }
.transparent { background-color: rgb(95 99 141 / 50%); }
.gradient { background: linear-gradient(to right, #5f638d, #725f8d); }
Similar colors
#5d6098Wizard’s Potion#6a6887Heron#4d5b88Wizard#5f6d91Haunt Mist#51588ePiccadilly Purple#6b6c89Dark Prince#4e5481Dusk#6f63a0Scampi
Closest common color name: Royal Purple.
Questions
- What color is #5F638D?
- #5F638D is a grayish blue, closest to the named color Wizard’s Potion. It belongs to the blue family of colors.
- What is the RGB value of #5F638D?
- The RGB value is 95, 99, 141: 95 red, 99 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #5F638D?
- The complementary color is #8D895F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5F638D?
- White text. Black text has a contrast ratio of 3.66:1 and white text 5.74:1. WCAG asks for at least 4.5:1 for normal text.