#9FA5FA#9FA5FA
#9FA5FA is a light, vivid blue. Relative luminance 0.412; OKLCH L 75.1% C 0.122 H 279.9°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9FA5FA |
|---|---|
| RGB | rgb(159, 165, 250) |
| HSL | hsl(236, 90%, 80%) |
| HSV | hsv(236, 36%, 98%) |
| CMYK | cmyk(36.4%, 34%, 0%, 2%) |
| CIE-LAB | lab(70.30, 17.71, -42.98) |
| CIE-LCH | lch(70.30, 46.49, 292.40°) |
| OKLab | oklab(75.07% 0.0211 -0.1202) |
| OKLCH | oklch(75.07% 0.122 279.9) |
| XYZ | xyz(45.0036, 41.1817, 96.0016) |
| Luminance | 0.4118 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.98
Perrywinkle
#8F8CE7
ΔE00 7.13
Pastel Blue
#A2BFFE
ΔE00 7.57
Lavender Blue
#8B88F8
ΔE00 8.24
Carolina Blue
#8AB8FE
ΔE00 9.45
Lavender
#B39DDB
ΔE00 9.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9FA5FA #FAF49F
analogous
#9FD2FA #9FA5FA #C69FFA
triadic
#9FA5FA #FA9FA5 #A5FA9F
tetradic
#9FA5FA #FA9FD2 #FAF49F #9FFAC6
square
#9FA5FA #FA9FD2 #FAF49F #9FFAC6
split-complementary
#9FA5FA #FAC69F #D2FA9F
monochromatic
#2B38F4 #656EF7 #9FA5FA #D9DCFD #E2E4FD
Accessibility & contrast
On white
2.27
#9FA5FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#9FA5FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9FA5FA
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9FA5FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9FA5FA | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AAFFD
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#85B5C4
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #9fa5fa; /* rgb */ color: rgb(159, 165, 250); /* oklch */ color: oklch(75.1% 0.122 279.9);
Tailwind
colors: {
custom: {
50: '#bebffc',
500: '#9fa5fa',
950: '#000000',
},
}SCSS
$custom: #9fa5fa; $custom-light: #bebffc; $custom-dark: #000000;
JSON
{
"hex": "#9fa5fa",
"rgb": {
"r": 159,
"g": 165,
"b": 250
},
"hsl": {
"h": 236.044,
"s": 90.099,
"l": 80.196
},
"oklch": {
"l": 0.75065,
"c": 0.12206,
"h": 279.9
},
"luminance": 0.41183
}Semantic roles & 50–950 ramp
primary
#9FA5FA
secondary
#F6F3D5
accent
#D600E6
background
#FBFBFF
surface
#F7F7FF
border
#D0D0D7
text
#121217
muted
#818185