#AFB2D8#AFB2D8
#AFB2D8 is a light, muted blue. Relative luminance 0.459; OKLCH L 77.4% C 0.054 H 281.5°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB2D8 |
|---|---|
| RGB | rgb(175, 178, 216) |
| HSL | hsl(236, 34%, 77%) |
| HSV | hsv(236, 19%, 85%) |
| CMYK | cmyk(19%, 17.6%, 0%, 15.3%) |
| CIE-LAB | lab(73.49, 6.81, -19.46) |
| CIE-LCH | lch(73.49, 20.62, 289.30°) |
| OKLab | oklab(77.39% 0.0108 -0.053) |
| OKLCH | oklch(77.39% 0.054 281.5) |
| XYZ | xyz(45.9913, 45.9119, 71.3913) |
| Luminance | 0.4591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 6.68
Periwinkle
#CCCCFF
ΔE00 7.68
Lavender
#B39DDB
ΔE00 8.66
Lightsteelblue
#B0C4DE
ΔE00 9.24
Light Blue Grey
#B7C9E2
ΔE00 9.52
Pale Violet
#CEAEFA
ΔE00 10.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB2D8 #D8D5AF
analogous
#AFC7D8 #AFB2D8 #C1AFD8
triadic
#AFB2D8 #D8AFB2 #B2D8AF
tetradic
#AFB2D8 #D8AFC7 #D8D5AF #AFD8C1
square
#AFB2D8 #D8AFC7 #D8D5AF #AFD8C1
split-complementary
#AFB2D8 #D8C1AF #C7D8AF
monochromatic
#5D63B0 #868AC4 #AFB2D8 #D8DAEC #EAEBF5
Accessibility & contrast
On white
2.06
#AFB2D8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.18
#AFB2D8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB2D8
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB2D8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB2D8 | 1.00 | 2.06 | 10.18 | 10.18 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8B6DA
Deuteranopia (green-blind)
#A7B3D7
Tritanopia (blue-blind)
#A6B8BF
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afb2d8; /* rgb */ color: rgb(175, 178, 216); /* oklch */ color: oklch(77.4% 0.054 281.5);
Tailwind
colors: {
custom: {
50: '#c7c9e4',
500: '#afb2d8',
950: '#000000',
},
}SCSS
$custom: #afb2d8; $custom-light: #c7c9e4; $custom-dark: #000000;
JSON
{
"hex": "#afb2d8",
"rgb": {
"r": 175,
"g": 178,
"b": 216
},
"hsl": {
"h": 235.61,
"s": 34.454,
"l": 76.667
},
"oklch": {
"l": 0.77394,
"c": 0.05414,
"h": 281.5
},
"luminance": 0.45913
}Semantic roles & 50–950 ramp
primary
#AFB2D8
secondary
#ECEBDF
accent
#A538AD
background
#FCFCFD
surface
#F8F8FB
border
#D1D1D4
text
#131315
muted
#828283