#797ACB color
The hex color #797ACB is a light, desaturated blue.
In the RGB color model it is made of 47.5% red, 47.8% green and 79.6% blue (121, 122, 203).
Its hue angle is 239°, with 44% saturation and 64% lightness. For print, the CMYK equivalent is 40% cyan, 40% magenta, 0% yellow and 20% black.
The closest named color is Flood (#6677BB), a difference of 4.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.46:1).
#797ACB color codes
| HEX | #797ACB | |
|---|---|---|
| RGB | rgb(121, 122, 203) | |
| RGB percent | rgb(47.5%, 47.8%, 79.6%) | |
| HSL | hsl(239, 44%, 64%) | |
| HSV / HSB | hsv(239, 40%, 80%) | |
| CMYK | cmyk(40%, 40%, 0%, 20%) | |
| CIE LAB | lab(54.34, 19.81, -42.19) | |
| CIE LCH | lch(54.34, 46.6, 295.15) | |
| CIE XYZ | xyz(25.621, 22.295, 59.442) | |
| Decimal | 7961291 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #797ACB, 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 #797ACB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.46:1 | Pass | Fail | Pass |
| Sample text | 3.85:1 | Fail | Fail | Pass |
| #797ACB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.85:1 | Fail | Fail | Pass |
| Sample text | 5.46: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 #797ACB looks to people with the most common types of color vision deficiency.
#5e85ceProtanopia
no red cones#5a7fc9Deuteranopia
no green cones#618a99Tritanopia
no blue cones#828282Achromatopsia
no color vision
CSS examples
.background { background-color: #797acb; }
.text { color: #797acb; }
.border { border: 2px solid #797acb; }
.transparent { background-color: rgb(121 122 203 / 50%); }
.gradient { background: linear-gradient(to right, #797acb, #a179cb); }
Similar colors
#6677bbFlood#7a6dc0Venus Violet#6d83bbOrbital#657aefPan Purple#8f8ce7Perrywinkle#5f6db0Loch Ness#9370dbMedium Purple#9370dbMatt Purple
Questions
- What color is #797ACB?
- #797ACB is a light, desaturated blue, closest to the named color Flood. It belongs to the blue family of colors.
- What is the RGB value of #797ACB?
- The RGB value is 121, 122, 203: 121 red, 122 green and 203 blue on a 0 to 255 scale.
- What is the complementary color of #797ACB?
- The complementary color is #CBCA79, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #797ACB?
- Black text. Black text has a contrast ratio of 5.46:1 and white text 3.85:1. WCAG asks for at least 4.5:1 for normal text.