#666797 color
The hex color #666797 is a grayish blue.
In the RGB color model it is made of 40% red, 40.4% green and 59.2% blue (102, 103, 151).
Its hue angle is 239°, with 19% saturation and 50% lightness. For print, the CMYK equivalent is 32% cyan, 32% magenta, 0% yellow and 41% black.
The closest named color is Wizard’s Potion (#5D6098), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.31:1).
#666797 color codes
| HEX | #666797 | |
|---|---|---|
| RGB | rgb(102, 103, 151) | |
| RGB percent | rgb(40%, 40.4%, 59.2%) | |
| HSL | hsl(239, 19%, 50%) | |
| HSV / HSB | hsv(239, 32%, 59%) | |
| CMYK | cmyk(32%, 32%, 0%, 41%) | |
| CIE LAB | lab(45.3, 11.35, -26.28) | |
| CIE LCH | lch(45.3, 28.62, 293.36) | |
| CIE XYZ | xyz(15.914, 14.759, 31.282) | |
| Decimal | 6711191 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #666797, 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 #666797 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.95:1 | Fail | Fail | Pass |
| Sample text | 5.31:1 | Pass | Fail | Pass |
| #666797 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.31:1 | Pass | Fail | Pass |
| Sample text | 3.95:1 | Fail | 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 #666797 looks to people with the most common types of color vision deficiency.
#596d99Protanopia
no red cones#576a96Deuteranopia
no green cones#5a7078Tritanopia
no blue cones#6b6b6bAchromatopsia
no color vision
CSS examples
.background { background-color: #666797; }
.text { color: #666797; }
.border { border: 2px solid #666797; }
.transparent { background-color: rgb(102 103 151 / 50%); }
.gradient { background: linear-gradient(to right, #666797, #7e6697); }
Similar colors
#5d6098Wizard’s Potion#6f63a0Scampi#636ca8Twinkle Night#5f6d91Haunt Mist#6a6887Heron#5d66aaBellflower#746c8fBureaucracy#6b6c89Dark Prince
Closest common color name: Royal Purple.
Questions
- What color is #666797?
- #666797 is a grayish blue, closest to the named color Wizard’s Potion. It belongs to the blue family of colors.
- What is the RGB value of #666797?
- The RGB value is 102, 103, 151: 102 red, 103 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #666797?
- The complementary color is #979666, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #666797?
- White text. Black text has a contrast ratio of 3.95:1 and white text 5.31:1. WCAG asks for at least 4.5:1 for normal text.