#7891F5#7891F5
#7891F5 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.2% C 0.150 H 271.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7891F5 |
|---|---|
| RGB | rgb(120, 145, 245) |
| HSL | hsl(228, 86%, 72%) |
| HSV | hsv(228, 51%, 96%) |
| CMYK | cmyk(51%, 40.8%, 0%, 3.9%) |
| CIE-LAB | lab(62.37, 18.35, -52.93) |
| CIE-LCH | lch(62.37, 56.02, 289.12°) |
| OKLab | oklab(68.23% 0.0036 -0.15) |
| OKLCH | oklch(68.23% 0.15 271.4) |
| XYZ | xyz(34.3472, 30.8342, 90.5102) |
| Luminance | 0.3084 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.97
Periwinkle Blue
#8F99FB
ΔE00 4.30
Cornflowerblue
#6495ED
ΔE00 4.74
Lavender Blue
#8B88F8
ΔE00 5.56
Perrywinkle
#8F8CE7
ΔE00 6.25
Cornflower
#6A79F7
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7891F5 #F5DC78
analogous
#78D0F5 #7891F5 #9E78F5
triadic
#7891F5 #F57891 #91F578
tetradic
#7891F5 #F578D0 #F5DC78 #78F59E
square
#7891F5 #F578D0 #F5DC78 #78F59E
split-complementary
#7891F5 #F59E78 #D0F578
monochromatic
#113BE2 #3F63F1 #7891F5 #B1BFF9 #E3E8FD
Accessibility & contrast
On white
2.93
#7891F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#7891F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7891F5
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7891F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7891F5 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689CF9
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#40A6B7
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #7891f5; /* rgb */ color: rgb(120, 145, 245); /* oklch */ color: oklch(68.2% 0.150 271.4);
Tailwind
colors: {
custom: {
50: '#a6b0f9',
500: '#7891f5',
950: '#000000',
},
}SCSS
$custom: #7891f5; $custom-light: #a6b0f9; $custom-dark: #000000;
JSON
{
"hex": "#7891f5",
"rgb": {
"r": 120,
"g": 145,
"b": 245
},
"hsl": {
"h": 228,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.68226,
"c": 0.15009,
"h": 271.4
},
"luminance": 0.30836
}Semantic roles & 50–950 ramp
primary
#7891F5
secondary
#F4EED4
accent
#B603E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85