#AFBAF9#AFBAF9
#AFBAF9 is a light, moderate blue. Relative luminance 0.511; OKLCH L 80.3% C 0.090 H 276.5°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBAF9 |
|---|---|
| RGB | rgb(175, 186, 249) |
| HSL | hsl(231, 86%, 83%) |
| HSV | hsv(231, 30%, 98%) |
| CMYK | cmyk(29.7%, 25.3%, 0%, 2.4%) |
| CIE-LAB | lab(76.72, 10.15, -32.38) |
| CIE-LCH | lch(76.72, 33.94, 287.40°) |
| OKLab | oklab(80.3% 0.0102 -0.0895) |
| OKLCH | oklch(80.3% 0.09 276.5) |
| XYZ | xyz(52.3323, 51.0697, 96.7043) |
| Luminance | 0.5107 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 4.24
Pastel Blue
#A2BFFE
ΔE00 4.72
Periwinkle
#CCCCFF
ΔE00 6.68
Powder Blue (survey)
#B1D1FC
ΔE00 7.52
Lightsteelblue
#B0C4DE
ΔE00 7.91
Light Blue Grey
#B7C9E2
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBAF9 #F9EEAF
analogous
#AFDFF9 #AFBAF9 #C9AFF9
triadic
#AFBAF9 #F9AFBA #BAF9AF
tetradic
#AFBAF9 #F9AFDF #F9EEAF #AFF9C9
square
#AFBAF9 #F9AFDF #F9EEAF #AFF9C9
split-complementary
#AFBAF9 #F9C9AF #DFF9AF
monochromatic
#3D58F0 #7689F5 #AFBAF9 #E3E6FD #E3E6FD
Accessibility & contrast
On white
1.87
#AFBAF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.21
#AFBAF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBAF9
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBAF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBAF9 | 1.00 | 1.87 | 11.21 | 11.21 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7C0FC
Deuteranopia (green-blind)
#A3BBF7
Tritanopia (blue-blind)
#9CC6D0
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #afbaf9; /* rgb */ color: rgb(175, 186, 249); /* oklch */ color: oklch(80.3% 0.090 276.5);
Tailwind
colors: {
custom: {
50: '#c8cefb',
500: '#afbaf9',
950: '#000000',
},
}SCSS
$custom: #afbaf9; $custom-light: #c8cefb; $custom-dark: #000000;
JSON
{
"hex": "#afbaf9",
"rgb": {
"r": 175,
"g": 186,
"b": 249
},
"hsl": {
"h": 231.081,
"s": 86.047,
"l": 83.137
},
"oklch": {
"l": 0.803,
"c": 0.09013,
"h": 276.5
},
"luminance": 0.51071
}Semantic roles & 50–950 ramp
primary
#AFBAF9
secondary
#DCCC71
accent
#C103E3
background
#FDFEFF
surface
#F9FAFF
border
#D2D3D7
text
#131317
muted
#828385