#666C87 color
The hex color #666C87 is a grayish blue.
In the RGB color model it is made of 40% red, 42.4% green and 52.9% blue (102, 108, 135).
Its hue angle is 229°, with 14% saturation and 46% lightness. For print, the CMYK equivalent is 24% cyan, 20% magenta, 0% yellow and 47% black.
The closest named color is Dark Prince (#6B6C89), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.17:1).
#666C87 color codes
| HEX | #666C87 | |
|---|---|---|
| RGB | rgb(102, 108, 135) | |
| RGB percent | rgb(40%, 42.4%, 52.9%) | |
| HSL | hsl(229, 14%, 46%) | |
| HSV / HSB | hsv(229, 24%, 53%) | |
| CMYK | cmyk(24%, 20%, 0%, 47%) | |
| CIE LAB | lab(46.04, 4.06, -15.61) | |
| CIE LCH | lch(46.04, 16.13, 284.59) | |
| CIE XYZ | xyz(15.214, 15.299, 25.068) | |
| Decimal | 6712455 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #666C87, 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 #666C87 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.06:1 | Fail | Fail | Pass |
| Sample text | 5.17:1 | Pass | Fail | Pass |
| #666C87 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.17:1 | Pass | Fail | Pass |
| Sample text | 4.06: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 #666C87 looks to people with the most common types of color vision deficiency.
#646e88Protanopia
no red cones#626c86Deuteranopia
no green cones#5e7175Tritanopia
no blue cones#6d6d6dAchromatopsia
no color vision
CSS examples
.background { background-color: #666c87; }
.text { color: #666c87; }
.border { border: 2px solid #666c87; }
.transparent { background-color: rgb(102 108 135 / 50%); }
.gradient { background: linear-gradient(to right, #666c87, #716687); }
Similar colors
#6b6c89Dark Prince#5f6d91Haunt Mist#6a6887Heron#646b7aAshen Whisper#65769aMisty Harbour#787489Flying Carpet#777799Stormy Horizon#656874Alley Cat
Closest common color name: Space Gray.
Questions
- What color is #666C87?
- #666C87 is a grayish blue, closest to the named color Dark Prince. It belongs to the blue family of colors.
- What is the RGB value of #666C87?
- The RGB value is 102, 108, 135: 102 red, 108 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #666C87?
- The complementary color is #878166, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #666C87?
- White text. Black text has a contrast ratio of 4.06:1 and white text 5.17:1. WCAG asks for at least 4.5:1 for normal text.