#7987BF#7987BF
#7987BF is a light, moderate blue. Relative luminance 0.252; OKLCH L 63.4% C 0.086 H 273.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7987BF |
|---|---|
| RGB | rgb(121, 135, 191) |
| HSL | hsl(228, 35%, 61%) |
| HSV | hsv(228, 37%, 75%) |
| CMYK | cmyk(36.6%, 29.3%, 0%, 25.1%) |
| CIE-LAB | lab(57.22, 8.74, -30.85) |
| CIE-LCH | lch(57.22, 32.06, 285.83°) |
| OKLab | oklab(63.44% 0.0045 -0.0859) |
| OKLCH | oklch(63.44% 0.086 273) |
| XYZ | xyz(25.9503, 25.1534, 52.7679) |
| Luminance | 0.2515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 6.69
Perrywinkle
#8F8CE7
ΔE00 6.96
Soft Blue
#6488EA
ΔE00 7.64
Lavender Blue
#8B88F8
ΔE00 8.67
Dusty Blue
#5A86AD
ΔE00 9.08
Blue Grey
#758DA3
ΔE00 9.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7987BF #BFB179
analogous
#79AABF #7987BF #8E79BF
triadic
#7987BF #BF7987 #87BF79
tetradic
#7987BF #BF79AA #BFB179 #79BF8E
square
#7987BF #BF79AA #BFB179 #79BF8E
split-complementary
#7987BF #BF8E79 #AABF79
monochromatic
#3D4B80 #5163AA #7987BF #A2ACD3 #CCD1E7
Accessibility & contrast
On white
3.48
#7987BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#7987BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7987BF
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7987BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7987BF | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#758CC1
Deuteranopia (green-blind)
#6F87BE
Tritanopia (blue-blind)
#64929B
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #7987bf; /* rgb */ color: rgb(121, 135, 191); /* oklch */ color: oklch(63.4% 0.086 273.0);
Tailwind
colors: {
custom: {
50: '#a2a9d2',
500: '#7987bf',
950: '#000000',
},
}SCSS
$custom: #7987bf; $custom-light: #a2a9d2; $custom-dark: #000000;
JSON
{
"hex": "#7987bf",
"rgb": {
"r": 121,
"g": 135,
"b": 191
},
"hsl": {
"h": 228,
"s": 35.354,
"l": 61.176
},
"oklch": {
"l": 0.63437,
"c": 0.08602,
"h": 273
},
"luminance": 0.25154
}Semantic roles & 50–950 ramp
primary
#7987BF
secondary
#D7D2BD
accent
#9637AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82