#798CB2 color
The hex color #798CB2 is a desaturated blue.
In the RGB color model it is made of 47.5% red, 54.9% green and 69.8% blue (121, 140, 178).
Its hue angle is 220°, with 27% saturation and 59% lightness. For print, the CMYK equivalent is 32% cyan, 21% magenta, 0% yellow and 30% black.
The closest named color is Galactic Gossamer (#7F8CB8), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.21:1).
#798CB2 color codes
| HEX | #798CB2 | |
|---|---|---|
| RGB | rgb(121, 140, 178) | |
| RGB percent | rgb(47.5%, 54.9%, 69.8%) | |
| HSL | hsl(220, 27%, 59%) | |
| HSV / HSB | hsv(220, 32%, 70%) | |
| CMYK | cmyk(32%, 21%, 0%, 30%) | |
| CIE LAB | lab(58.07, 2.36, -22.15) | |
| CIE LCH | lch(58.07, 22.27, 276.07) | |
| CIE XYZ | xyz(25.297, 26.034, 45.803) | |
| Decimal | 7965874 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #798CB2, 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 #798CB2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.21:1 | Pass | Fail | Pass |
| Sample text | 3.38:1 | Fail | Fail | Pass |
| #798CB2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.38:1 | Fail | Fail | Pass |
| Sample text | 6.21: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 #798CB2 looks to people with the most common types of color vision deficiency.
#7f8eb4Protanopia
no red cones#7a89b1Deuteranopia
no green cones#699499Tritanopia
no blue cones#8c8c8cAchromatopsia
no color vision
CSS examples
.background { background-color: #798cb2; }
.text { color: #798cb2; }
.border { border: 2px solid #798cb2; }
.transparent { background-color: rgb(121 140 178 / 50%); }
.gradient { background: linear-gradient(to right, #798cb2, #8379b2); }
Similar colors
#7f8cb8Galactic Gossamer#6d86b6Kimono#7794c0King Neptune#7c94b3Celestial Horizon#7181a4English Manor#6d83bbOrbital#79839bTempest#74819aStonewash
Closest common color name: Cool Gray.
Questions
- What color is #798CB2?
- #798CB2 is a desaturated blue, closest to the named color Galactic Gossamer. It belongs to the blue family of colors.
- What is the RGB value of #798CB2?
- The RGB value is 121, 140, 178: 121 red, 140 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #798CB2?
- The complementary color is #B29F79, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #798CB2?
- Black text. Black text has a contrast ratio of 6.21:1 and white text 3.38:1. WCAG asks for at least 4.5:1 for normal text.