#AFB4F8#AFB4F8
#AFB4F8 is a light, moderate blue. Relative luminance 0.485; OKLCH L 79.1% C 0.097 H 280.7°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB4F8 |
|---|---|
| RGB | rgb(175, 180, 248) |
| HSL | hsl(236, 84%, 83%) |
| HSV | hsv(236, 29%, 97%) |
| CMYK | cmyk(29.4%, 27.4%, 0%, 2.7%) |
| CIE-LAB | lab(75.16, 13.21, -34.26) |
| CIE-LCH | lch(75.16, 36.71, 291.09°) |
| OKLab | oklab(79.08% 0.0179 -0.0949) |
| OKLCH | oklch(79.08% 0.097 280.7) |
| XYZ | xyz(50.9392, 48.5324, 95.4726) |
| Luminance | 0.4853 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.10
Pastel Blue
#A2BFFE
ΔE00 6.20
Periwinkle
#CCCCFF
ΔE00 7.33
Periwinkle Blue
#8F99FB
ΔE00 8.64
Pale Violet
#CEAEFA
ΔE00 8.67
Lightsteelblue
#B0C4DE
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB4F8 #F8F3AF
analogous
#AFD9F8 #AFB4F8 #CEAFF8
triadic
#AFB4F8 #F8AFB4 #B4F8AF
tetradic
#AFB4F8 #F8AFD9 #F8F3AF #AFF8CE
square
#AFB4F8 #F8AFD9 #F8F3AF #AFF8CE
split-complementary
#AFB4F8 #F8CEAF #D9F8AF
monochromatic
#3E4AEE #777FF3 #AFB4F8 #E3E5FD #E3E5FD
Accessibility & contrast
On white
1.96
#AFB4F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.71
#AFB4F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB4F8
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB4F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB4F8 | 1.00 | 1.96 | 10.71 | 10.71 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A0BCFB
Deuteranopia (green-blind)
#9DB7F6
Tritanopia (blue-blind)
#9DC0CC
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #afb4f8; /* rgb */ color: rgb(175, 180, 248); /* oklch */ color: oklch(79.1% 0.097 280.7);
Tailwind
colors: {
custom: {
50: '#c8cafa',
500: '#afb4f8',
950: '#000000',
},
}SCSS
$custom: #afb4f8; $custom-light: #c8cafa; $custom-dark: #000000;
JSON
{
"hex": "#afb4f8",
"rgb": {
"r": 175,
"g": 180,
"b": 248
},
"hsl": {
"h": 235.89,
"s": 83.908,
"l": 82.941
},
"oklch": {
"l": 0.79076,
"c": 0.09655,
"h": 280.7
},
"luminance": 0.48534
}Semantic roles & 50–950 ramp
primary
#AFB4F8
secondary
#F4F2D7
accent
#D105E0
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285