#AFB2FF#AFB2FF
#AFB2FF is a light, moderate blue. Relative luminance 0.482; OKLCH L 79.0% C 0.109 H 281.9°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB2FF |
|---|---|
| RGB | rgb(175, 178, 255) |
| HSL | hsl(238, 100%, 84%) |
| HSV | hsv(238, 31%, 100%) |
| CMYK | cmyk(31.4%, 30.2%, 0%, 0%) |
| CIE-LAB | lab(74.93, 16.05, -38.38) |
| CIE-LCH | lch(74.93, 41.60, 292.69°) |
| OKLab | oklab(78.99% 0.0224 -0.1067) |
| OKLCH | oklch(78.99% 0.109 281.9) |
| XYZ | xyz(51.6447, 48.1732, 101.1657) |
| Luminance | 0.4818 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 6.09
Pastel Blue
#A2BFFE
ΔE00 6.36
Periwinkle Blue
#8F99FB
ΔE00 7.84
Periwinkle
#CCCCFF
ΔE00 8.30
Pale Violet
#CEAEFA
ΔE00 8.62
Lightsteelblue
#B0C4DE
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB2FF #FFFCAF
analogous
#AFDAFF #AFB2FF #D4AFFF
triadic
#AFB2FF #FFAFB2 #B2FFAF
tetradic
#AFB2FF #FFAFDA #FFFCAF #AFFFD4
square
#AFB2FF #FFAFDA #FFFCAF #AFFFD4
split-complementary
#AFB2FF #FFD4AF #DAFFAF
monochromatic
#353CFF #7277FF #AFB2FF #E0E2FF #E0E2FF
Accessibility & contrast
On white
1.97
#AFB2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.64
#AFB2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB2FF
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB2FF | 1.00 | 1.97 | 10.64 | 10.64 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9BBBFF
Deuteranopia (green-blind)
#98B6FD
Tritanopia (blue-blind)
#9AC0CD
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afb2ff; /* rgb */ color: rgb(175, 178, 255); /* oklch */ color: oklch(79.0% 0.109 281.9);
Tailwind
colors: {
custom: {
50: '#c9c8ff',
500: '#afb2ff',
950: '#000000',
},
}SCSS
$custom: #afb2ff; $custom-light: #c9c8ff; $custom-dark: #000000;
JSON
{
"hex": "#afb2ff",
"rgb": {
"r": 175,
"g": 178,
"b": 255
},
"hsl": {
"h": 237.75,
"s": 100,
"l": 84.314
},
"oklch": {
"l": 0.78994,
"c": 0.10901,
"h": 281.9
},
"luminance": 0.48175
}Semantic roles & 50–950 ramp
primary
#AFB2FF
secondary
#F7F6D4
accent
#DD00E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286