#798CAF color
The hex color #798CAF is a desaturated azure.
In the RGB color model it is made of 47.5% red, 54.9% green and 68.6% blue (121, 140, 175).
Its hue angle is 219°, with 25% saturation and 58% lightness. For print, the CMYK equivalent is 31% cyan, 20% magenta, 0% yellow and 31% black.
The closest named color is Galactic Gossamer (#7F8CB8), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.18:1).
#798CAF color codes
| HEX | #798CAF | |
|---|---|---|
| RGB | rgb(121, 140, 175) | |
| RGB percent | rgb(47.5%, 54.9%, 68.6%) | |
| HSL | hsl(219, 25%, 58%) | |
| HSV / HSB | hsv(219, 31%, 69%) | |
| CMYK | cmyk(31%, 20%, 0%, 31%) | |
| CIE LAB | lab(57.96, 1.58, -20.61) | |
| CIE LCH | lch(57.96, 20.67, 274.37) | |
| CIE XYZ | xyz(24.999, 25.915, 44.234) | |
| Decimal | 7965871 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #798CAF, 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 #798CAF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.18:1 | Pass | Fail | Pass |
| Sample text | 3.4:1 | Fail | Fail | Pass |
| #798CAF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.4:1 | Fail | Fail | Pass |
| Sample text | 6.18: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 #798CAF looks to people with the most common types of color vision deficiency.
#808eb1Protanopia
no red cones#7b89aeDeuteranopia
no green cones#6a9398Tritanopia
no blue cones#8b8b8bAchromatopsia
no color vision
CSS examples
.background { background-color: #798caf; }
.text { color: #798caf; }
.border { border: 2px solid #798caf; }
.transparent { background-color: rgb(121 140 175 / 50%); }
.gradient { background: linear-gradient(to right, #798caf, #8179af); }
Similar colors
#7f8cb8Galactic Gossamer#7c94b3Celestial Horizon#6d86b6Kimono#7181a4English Manor#7794c0King Neptune#6d83bbOrbital#79839bTempest#74819aStonewash
Closest common color name: Cool Gray.
Questions
- What color is #798CAF?
- #798CAF is a desaturated azure, closest to the named color Galactic Gossamer. It belongs to the blue family of colors.
- What is the RGB value of #798CAF?
- The RGB value is 121, 140, 175: 121 red, 140 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #798CAF?
- The complementary color is #AF9C79, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #798CAF?
- Black text. Black text has a contrast ratio of 6.18:1 and white text 3.4:1. WCAG asks for at least 4.5:1 for normal text.