#AFC2FF#AFC2FF
#AFC2FF is a very light, moderate blue. Relative luminance 0.549; OKLCH L 82.1% C 0.089 H 271.0°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC2FF |
|---|---|
| RGB | rgb(175, 194, 255) |
| HSL | hsl(226, 100%, 84%) |
| HSV | hsv(226, 31%, 100%) |
| CMYK | cmyk(31.4%, 23.9%, 0%, 0%) |
| CIE-LAB | lab(78.99, 7.25, -32.10) |
| CIE-LCH | lch(78.99, 32.91, 282.72°) |
| OKLab | oklab(82.14% 0.0015 -0.0888) |
| OKLCH | oklch(82.14% 0.089 271) |
| XYZ | xyz(55.0159, 54.9156, 102.2894) |
| Luminance | 0.5492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Pastel Blue
#A2BFFE
ΔE00 2.89
Light Periwinkle
#C1C6FC
ΔE00 4.79
Powder Blue (survey)
#B1D1FC
ΔE00 5.19
Periwinkle
#CCCCFF
ΔE00 7.13
Lightsteelblue
#B0C4DE
ΔE00 7.19
Baby Blue (survey)
#A2CFFE
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC2FF #FFECAF
analogous
#AFEAFF #AFC2FF #C4AFFF
triadic
#AFC2FF #FFAFC2 #C2FFAF
tetradic
#AFC2FF #FFAFEA #FFECAF #AFFFC4
square
#AFC2FF #FFAFEA #FFECAF #AFFFC4
split-complementary
#AFC2FF #FFC4AF #EAFFAF
monochromatic
#3565FF #7293FF #AFC2FF #E0E8FF #E0E8FF
Accessibility & contrast
On white
1.75
#AFC2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.98
#AFC2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC2FF
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC2FF | 1.00 | 1.75 | 11.98 | 11.98 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFC7FF
Deuteranopia (green-blind)
#A8C1FE
Tritanopia (blue-blind)
#99CED7
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #afc2ff; /* rgb */ color: rgb(175, 194, 255); /* oklch */ color: oklch(82.1% 0.089 271.0);
Tailwind
colors: {
custom: {
50: '#c8d4ff',
500: '#afc2ff',
950: '#000000',
},
}SCSS
$custom: #afc2ff; $custom-light: #c8d4ff; $custom-dark: #000000;
JSON
{
"hex": "#afc2ff",
"rgb": {
"r": 175,
"g": 194,
"b": 255
},
"hsl": {
"h": 225.75,
"s": 100,
"l": 84.314
},
"oklch": {
"l": 0.82142,
"c": 0.08877,
"h": 271
},
"luminance": 0.54918
}Semantic roles & 50–950 ramp
primary
#AFC2FF
secondary
#E5C96D
accent
#AF00E6
background
#FDFEFF
surface
#F9FBFF
border
#D2D4D7
text
#131418
muted
#828386