#AFB2FD#AFB2FD
#AFB2FD is a light, moderate blue. Relative luminance 0.480; OKLCH L 78.9% C 0.106 H 281.9°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB2FD |
|---|---|
| RGB | rgb(175, 178, 253) |
| HSL | hsl(238, 95%, 84%) |
| HSV | hsv(238, 31%, 99%) |
| CMYK | cmyk(30.8%, 29.6%, 0%, 0.8%) |
| CIE-LAB | lab(74.85, 15.55, -37.42) |
| CIE-LCH | lch(74.85, 40.53, 292.56°) |
| OKLab | oklab(78.91% 0.0219 -0.1039) |
| OKLCH | oklch(78.91% 0.106 281.9) |
| XYZ | xyz(51.3244, 48.0451, 99.4789) |
| Luminance | 0.4805 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.92
Pastel Blue
#A2BFFE
ΔE00 6.43
Periwinkle Blue
#8F99FB
ΔE00 7.96
Periwinkle
#CCCCFF
ΔE00 8.11
Pale Violet
#CEAEFA
ΔE00 8.51
Lightsteelblue
#B0C4DE
ΔE00 8.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB2FD #FDFAAF
analogous
#AFD9FD #AFB2FD #D3AFFD
triadic
#AFB2FD #FDAFB2 #B2FDAF
tetradic
#AFB2FD #FDAFD9 #FDFAAF #AFFDD3
square
#AFB2FD #FDAFD9 #FDFAAF #AFFDD3
split-complementary
#AFB2FD #FDD3AF #D9FDAF
monochromatic
#383FFA #7379FC #AFB2FD #E1E2FE #E1E2FE
Accessibility & contrast
On white
1.98
#AFB2FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.61
#AFB2FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB2FD
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB2FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB2FD | 1.00 | 1.98 | 10.61 | 10.61 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9CBBFF
Deuteranopia (green-blind)
#99B6FB
Tritanopia (blue-blind)
#9BC0CD
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #afb2fd; /* rgb */ color: rgb(175, 178, 253); /* oklch */ color: oklch(78.9% 0.106 281.9);
Tailwind
colors: {
custom: {
50: '#c8c8fe',
500: '#afb2fd',
950: '#000000',
},
}SCSS
$custom: #afb2fd; $custom-light: #c8c8fe; $custom-dark: #000000;
JSON
{
"hex": "#afb2fd",
"rgb": {
"r": 175,
"g": 178,
"b": 253
},
"hsl": {
"h": 237.692,
"s": 95.122,
"l": 83.922
},
"oklch": {
"l": 0.78905,
"c": 0.10623,
"h": 281.9
},
"luminance": 0.48047
}Semantic roles & 50–950 ramp
primary
#AFB2FD
secondary
#F6F5D5
accent
#DD00E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286