#7B8FA8 color
The hex color #7B8FA8 is a grayish azure.
In the RGB color model it is made of 48.2% red, 56.1% green and 65.9% blue (123, 143, 168).
Its hue angle is 213°, with 21% saturation and 57% lightness. For print, the CMYK equivalent is 27% cyan, 15% magenta, 0% yellow and 34% black.
The closest named color is Celestial Horizon (#7C94B3), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.34:1).
#7B8FA8 color codes
| HEX | #7B8FA8 | |
|---|---|---|
| RGB | rgb(123, 143, 168) | |
| RGB percent | rgb(48.2%, 56.1%, 65.9%) | |
| HSL | hsl(213, 21%, 57%) | |
| HSV / HSB | hsv(213, 27%, 66%) | |
| CMYK | cmyk(27%, 15%, 0%, 34%) | |
| CIE LAB | lab(58.68, -1.29, -15.51) | |
| CIE LCH | lch(58.68, 15.57, 265.24) | |
| CIE XYZ | xyz(25.057, 26.682, 40.868) | |
| Decimal | 8097704 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7B8FA8, 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 #7B8FA8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.34:1 | Pass | Fail | Pass |
| Sample text | 3.31:1 | Fail | Fail | Pass |
| #7B8FA8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.31:1 | Fail | Fail | Pass |
| Sample text | 6.34: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 #7B8FA8 looks to people with the most common types of color vision deficiency.
#8690a9Protanopia
no red cones#818ba7Deuteranopia
no green cones#6f9497Tritanopia
no blue cones#8d8d8dAchromatopsia
no color vision
CSS examples
.background { background-color: #7b8fa8; }
.text { color: #7b8fa8; }
.border { border: 2px solid #7b8fa8; }
.transparent { background-color: rgb(123 143 168 / 50%); }
.gradient { background: linear-gradient(to right, #7b8fa8, #7d7ba8); }
Similar colors
#7c94b3Celestial Horizon#778899Light Slate Gray#839ab0Monsoon Season#6b90b3Heavenly Sky#869cbbSailing#8d99b1Moon Veil#8d95aaSilverfish#7794c0King Neptune
Questions
- What color is #7B8FA8?
- #7B8FA8 is a grayish azure, closest to the named color Celestial Horizon. It belongs to the blue family of colors.
- What is the RGB value of #7B8FA8?
- The RGB value is 123, 143, 168: 123 red, 143 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #7B8FA8?
- The complementary color is #A8947B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7B8FA8?
- Black text. Black text has a contrast ratio of 6.34:1 and white text 3.31:1. WCAG asks for at least 4.5:1 for normal text.