#AFAFC7 color
The hex color #AFAFC7 is a light, grayish blue.
In the RGB color model it is made of 68.6% red, 68.6% green and 78% blue (175, 175, 199).
Its hue angle is 240°, with 18% saturation and 73% lightness. For print, the CMYK equivalent is 12% cyan, 12% magenta, 0% yellow and 22% black.
The closest named color is Cosmic (#B8B9CB), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.78:1).
#AFAFC7 color codes
| HEX | #AFAFC7 | |
|---|---|---|
| RGB | rgb(175, 175, 199) | |
| RGB percent | rgb(68.6%, 68.6%, 78%) | |
| HSL | hsl(240, 18%, 73%) | |
| HSV / HSB | hsv(240, 12%, 78%) | |
| CMYK | cmyk(12%, 12%, 0%, 22%) | |
| CIE LAB | lab(72.16, 4.78, -12.16) | |
| CIE LCH | lch(72.16, 13.07, 291.44) | |
| CIE XYZ | xyz(43.316, 43.897, 60.213) | |
| Decimal | 11513799 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFAFC7, 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 #AFAFC7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.78:1 | Pass | Pass | Pass |
| Sample text | 2.15:1 | Fail | Fail | Fail |
| #AFAFC7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.15:1 | Fail | Fail | Fail |
| Sample text | 9.78:1 | Pass | Pass | 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 #AFAFC7 looks to people with the most common types of color vision deficiency.
#aab2c8Protanopia
no red cones#a9b0c6Deuteranopia
no green cones#aab3b7Tritanopia
no blue cones#b1b1b1Achromatopsia
no color vision
CSS examples
.background { background-color: #afafc7; }
.text { color: #afafc7; }
.border { border: 2px solid #afafc7; }
.transparent { background-color: rgb(175 175 199 / 50%); }
.gradient { background: linear-gradient(to right, #afafc7, #bbafc7); }
Similar colors
#b8b9cbCosmic#bdbaceBlue Haze#b3b2bfNebulous December#b0b8ccEthereal Mist#b7bdd1Violet Vision#b8bfdcStardust Evening#b6bdd0Arctic Ice#c4bad2Fog Syringa
Closest common color name: Light Purple.
Questions
- What color is #AFAFC7?
- #AFAFC7 is a light, grayish blue, closest to the named color Cosmic. It belongs to the blue family of colors.
- What is the RGB value of #AFAFC7?
- The RGB value is 175, 175, 199: 175 red, 175 green and 199 blue on a 0 to 255 scale.
- What is the complementary color of #AFAFC7?
- The complementary color is #C7C7AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFAFC7?
- Black text. Black text has a contrast ratio of 9.78:1 and white text 2.15:1. WCAG asks for at least 4.5:1 for normal text.