#787BA3 color
The hex color #787BA3 is a grayish blue.
In the RGB color model it is made of 47.1% red, 48.2% green and 63.9% blue (120, 123, 163).
Its hue angle is 236°, with 19% saturation and 55% lightness. For print, the CMYK equivalent is 26% cyan, 25% magenta, 0% yellow and 36% black.
The closest named color is Stormy Horizon (#777799), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.16:1).
#787BA3 color codes
| HEX | #787BA3 | |
|---|---|---|
| RGB | rgb(120, 123, 163) | |
| RGB percent | rgb(47.1%, 48.2%, 63.9%) | |
| HSL | hsl(236, 19%, 55%) | |
| HSV / HSB | hsv(236, 26%, 64%) | |
| CMYK | cmyk(26%, 25%, 0%, 36%) | |
| CIE LAB | lab(52.73, 8.09, -21.72) | |
| CIE LCH | lch(52.73, 23.18, 290.44) | |
| CIE XYZ | xyz(21.438, 20.803, 37.529) | |
| Decimal | 7895971 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787BA3, 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 #787BA3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.16:1 | Pass | Fail | Pass |
| Sample text | 4.07:1 | Fail | Fail | Pass |
| #787BA3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.07:1 | Fail | Fail | Pass |
| Sample text | 5.16: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 #787BA3 looks to people with the most common types of color vision deficiency.
#707fa5Protanopia
no red cones#6e7ca2Deuteranopia
no green cones#6e8289Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #787ba3; }
.text { color: #787ba3; }
.border { border: 2px solid #787ba3; }
.transparent { background-color: rgb(120 123 163 / 50%); }
.gradient { background: linear-gradient(to right, #787ba3, #8b78a3); }
Similar colors
#777799Stormy Horizon#867ba9Aster#7181a4English Manor#65769aMisty Harbour#807396Purple Haze#79839bTempest#787e93Your Shadow#7f8cb8Galactic Gossamer
Closest common color name: Lavender Purple.
Questions
- What color is #787BA3?
- #787BA3 is a grayish blue, closest to the named color Stormy Horizon. It belongs to the blue family of colors.
- What is the RGB value of #787BA3?
- The RGB value is 120, 123, 163: 120 red, 123 green and 163 blue on a 0 to 255 scale.
- What is the complementary color of #787BA3?
- The complementary color is #A3A078, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787BA3?
- Black text. Black text has a contrast ratio of 5.16:1 and white text 4.07:1. WCAG asks for at least 4.5:1 for normal text.