#797CBF color
The hex color #797CBF is a desaturated blue.
In the RGB color model it is made of 47.5% red, 48.6% green and 74.9% blue (121, 124, 191).
Its hue angle is 237°, with 35% saturation and 61% lightness. For print, the CMYK equivalent is 37% cyan, 35% magenta, 0% yellow and 25% black.
The closest named color is Flood (#6677BB), a difference of 4.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.45:1).
#797CBF color codes
| HEX | #797CBF | |
|---|---|---|
| RGB | rgb(121, 124, 191) | |
| RGB percent | rgb(47.5%, 48.6%, 74.9%) | |
| HSL | hsl(237, 35%, 61%) | |
| HSV / HSB | hsv(237, 37%, 75%) | |
| CMYK | cmyk(37%, 35%, 0%, 25%) | |
| CIE LAB | lab(54.28, 15.25, -35.44) | |
| CIE LCH | lch(54.28, 38.58, 293.28) | |
| CIE XYZ | xyz(24.494, 22.241, 52.282) | |
| Decimal | 7961791 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #797CBF, 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 #797CBF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.45:1 | Pass | Fail | Pass |
| Sample text | 3.85:1 | Fail | Fail | Pass |
| #797CBF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.85:1 | Fail | Fail | Pass |
| Sample text | 5.45: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 #797CBF looks to people with the most common types of color vision deficiency.
#6784c2Protanopia
no red cones#637fbdDeuteranopia
no green cones#658995Tritanopia
no blue cones#828282Achromatopsia
no color vision
CSS examples
.background { background-color: #797cbf; }
.text { color: #797cbf; }
.border { border: 2px solid #797cbf; }
.transparent { background-color: rgb(121 124 191 / 50%); }
.gradient { background: linear-gradient(to right, #797cbf, #9979bf); }
Similar colors
#6677bbFlood#6d83bbOrbital#7a6dc0Venus Violet#6d86b6Kimono#7f8cb8Galactic Gossamer#5f6db0Loch Ness#636ca8Twinkle Night#867ba9Aster
Closest common color name: Medium Purple.
Questions
- What color is #797CBF?
- #797CBF is a desaturated blue, closest to the named color Flood. It belongs to the blue family of colors.
- What is the RGB value of #797CBF?
- The RGB value is 121, 124, 191: 121 red, 124 green and 191 blue on a 0 to 255 scale.
- What is the complementary color of #797CBF?
- The complementary color is #BFBC79, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #797CBF?
- Black text. Black text has a contrast ratio of 5.45:1 and white text 3.85:1. WCAG asks for at least 4.5:1 for normal text.