#7896FA#7896FA
#7896FA is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.5% C 0.151 H 269.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7896FA |
|---|---|
| RGB | rgb(120, 150, 250) |
| HSL | hsl(226, 93%, 73%) |
| HSV | hsv(226, 52%, 98%) |
| CMYK | cmyk(52%, 40%, 0%, 2%) |
| CIE-LAB | lab(63.92, 16.94, -53.21) |
| CIE-LCH | lch(63.92, 55.84, 287.66°) |
| OKLab | oklab(69.5% -0.0011 -0.1508) |
| OKLCH | oklch(69.5% 0.151 269.6) |
| XYZ | xyz(35.9017, 32.7054, 94.8449) |
| Luminance | 0.3271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 4.07
Periwinkle Blue
#8F99FB
ΔE00 4.36
Soft Blue
#6488EA
ΔE00 4.93
Lavender Blue
#8B88F8
ΔE00 6.86
Perrywinkle
#8F8CE7
ΔE00 7.45
Faded Blue
#658CBB
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7896FA #FADC78
analogous
#78D7FA #7896FA #9B78FA
triadic
#7896FA #FA7896 #96FA78
tetradic
#7896FA #FA78D7 #FADC78 #78FA9B
square
#7896FA #FA78D7 #FADC78 #78FA9B
split-complementary
#7896FA #FA9B78 #D7FA78
monochromatic
#093EEF #3D68F8 #7896FA #B3C4FC #E1E8FE
Accessibility & contrast
On white
2.78
#7896FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#7896FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7896FA
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7896FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7896FA | 1.00 | 2.78 | 7.54 | 7.54 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#39ACBC
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #7896fa; /* rgb */ color: rgb(120, 150, 250); /* oklch */ color: oklch(69.5% 0.151 269.6);
Tailwind
colors: {
custom: {
50: '#a6b4fc',
500: '#7896fa',
950: '#000000',
},
}SCSS
$custom: #7896fa; $custom-light: #a6b4fc; $custom-dark: #000000;
JSON
{
"hex": "#7896fa",
"rgb": {
"r": 120,
"g": 150,
"b": 250
},
"hsl": {
"h": 226.154,
"s": 92.857,
"l": 72.549
},
"oklch": {
"l": 0.69503,
"c": 0.15082,
"h": 269.6
},
"luminance": 0.32708
}Semantic roles & 50–950 ramp
primary
#7896FA
secondary
#F6EED5
accent
#B100E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085