#797ABA color
The hex color #797ABA is a desaturated blue.
In the RGB color model it is made of 47.5% red, 47.8% green and 72.9% blue (121, 122, 186).
Its hue angle is 239°, with 32% saturation and 60% lightness. For print, the CMYK equivalent is 35% cyan, 34% magenta, 0% yellow and 27% black.
The closest named color is Flood (#6677BB), a difference of 4.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.31:1).
#797ABA color codes
| HEX | #797ABA | |
|---|---|---|
| RGB | rgb(121, 122, 186) | |
| RGB percent | rgb(47.5%, 47.8%, 72.9%) | |
| HSL | hsl(239, 32%, 60%) | |
| HSV / HSB | hsv(239, 35%, 73%) | |
| CMYK | cmyk(35%, 34%, 0%, 27%) | |
| CIE LAB | lab(53.52, 15.06, -33.76) | |
| CIE LCH | lch(53.52, 36.97, 294.04) | |
| CIE XYZ | xyz(23.705, 21.528, 49.351) | |
| Decimal | 7961274 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #797ABA, 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 #797ABA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.31:1 | Pass | Fail | Pass |
| Sample text | 3.96:1 | Fail | Fail | Pass |
| #797ABA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.96:1 | Fail | Fail | Pass |
| Sample text | 5.31: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 #797ABA looks to people with the most common types of color vision deficiency.
#6682bdProtanopia
no red cones#637eb8Deuteranopia
no green cones#688691Tritanopia
no blue cones#808080Achromatopsia
no color vision
CSS examples
.background { background-color: #797aba; }
.text { color: #797aba; }
.border { border: 2px solid #797aba; }
.transparent { background-color: rgb(121 122 186 / 50%); }
.gradient { background: linear-gradient(to right, #797aba, #9979ba); }
Similar colors
#6677bbFlood#7a6dc0Venus Violet#6d83bbOrbital#867ba9Aster#636ca8Twinkle Night#7f8cb8Galactic Gossamer#6d86b6Kimono#5f6db0Loch Ness
Closest common color name: Lavender Purple.
Questions
- What color is #797ABA?
- #797ABA is a desaturated blue, closest to the named color Flood. It belongs to the blue family of colors.
- What is the RGB value of #797ABA?
- The RGB value is 121, 122, 186: 121 red, 122 green and 186 blue on a 0 to 255 scale.
- What is the complementary color of #797ABA?
- The complementary color is #BAB979, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #797ABA?
- Black text. Black text has a contrast ratio of 5.31:1 and white text 3.96:1. WCAG asks for at least 4.5:1 for normal text.