#98AFEF#98AFEF
#98AFEF is a light, moderate blue. Relative luminance 0.436; OKLCH L 76.1% C 0.096 H 268.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #98AFEF |
|---|---|
| RGB | rgb(152, 175, 239) |
| HSL | hsl(224, 73%, 77%) |
| HSV | hsv(224, 36%, 94%) |
| CMYK | cmyk(36.4%, 26.8%, 0%, 6.3%) |
| CIE-LAB | lab(71.94, 7.32, -34.50) |
| CIE-LCH | lch(71.94, 35.27, 281.98°) |
| OKLab | oklab(76.06% -0.0019 -0.0959) |
| OKLCH | oklch(76.06% 0.096 268.8) |
| XYZ | xyz(43.8542, 43.5654, 87.7429) |
| Luminance | 0.4357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Pastel Blue
#A2BFFE
ΔE00 4.26
Carolina Blue
#8AB8FE
ΔE00 5.63
Periwinkle Blue
#8F99FB
ΔE00 6.52
Lightsteelblue
#B0C4DE
ΔE00 8.75
Powder Blue (survey)
#B1D1FC
ΔE00 8.75
Light Periwinkle
#C1C6FC
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98AFEF #EFD898
analogous
#98DBEF #98AFEF #AD98EF
triadic
#98AFEF #EF98AF #AFEF98
tetradic
#98AFEF #EF98DB #EFD898 #98EFAD
square
#98AFEF #EF98DB #EFD898 #98EFAD
split-complementary
#98AFEF #EFAD98 #DBEF98
monochromatic
#2E5DDF #6386E7 #98AFEF #CDD8F7 #E5EAFB
Accessibility & contrast
On white
2.16
#98AFEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#98AFEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #98AFEF
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98AFEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##98AFEF | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9AB4F2
Deuteranopia (green-blind)
#92ADEE
Tritanopia (blue-blind)
#7EBCC5
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #98afef; /* rgb */ color: rgb(152, 175, 239); /* oklch */ color: oklch(76.1% 0.096 268.8);
Tailwind
colors: {
custom: {
50: '#b9c6f4',
500: '#98afef',
950: '#000000',
},
}SCSS
$custom: #98afef; $custom-light: #b9c6f4; $custom-dark: #000000;
JSON
{
"hex": "#98afef",
"rgb": {
"r": 152,
"g": 175,
"b": 239
},
"hsl": {
"h": 224.138,
"s": 73.109,
"l": 76.667
},
"oklch": {
"l": 0.76057,
"c": 0.09594,
"h": 268.8
},
"luminance": 0.43567
}Semantic roles & 50–950 ramp
primary
#98AFEF
secondary
#F3ECD8
accent
#A110D5
background
#FBFCFE
surface
#F6F8FD
border
#D0D1D5
text
#121317
muted
#818285