#7987BB#7987BB
#7987BB is a light, moderate blue. Relative luminance 0.250; OKLCH L 63.2% C 0.080 H 272.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #7987BB |
|---|---|
| RGB | rgb(121, 135, 187) |
| HSL | hsl(227, 33%, 60%) |
| HSV | hsv(227, 35%, 73%) |
| CMYK | cmyk(35.3%, 27.8%, 0%, 26.7%) |
| CIE-LAB | lab(57.06, 7.65, -28.84) |
| CIE-LCH | lch(57.06, 29.83, 284.87°) |
| OKLab | oklab(63.25% 0.0033 -0.0801) |
| OKLCH | oklch(63.25% 0.08 272.3) |
| XYZ | xyz(25.5162, 24.9797, 50.4812) |
| Luminance | 0.2498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 6.78
Perrywinkle
#8F8CE7
ΔE00 7.47
Soft Blue
#6488EA
ΔE00 8.17
Blue Grey
#758DA3
ΔE00 9.08
Dusty Blue
#5A86AD
ΔE00 9.10
Lavender Blue
#8B88F8
ΔE00 9.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7987BB #BBAD79
analogous
#79A8BB #7987BB #8C79BB
triadic
#7987BB #BB7987 #87BB79
tetradic
#7987BB #BB79A8 #BBAD79 #79BB8C
square
#7987BB #BB79A8 #BBAD79 #79BB8C
split-complementary
#7987BB #BB8C79 #A8BB79
monochromatic
#3E4B7B #5364A4 #7987BB #A2ABD0 #CAD0E4
Accessibility & contrast
On white
3.50
#7987BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#7987BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7987BB
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7987BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7987BB | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#768CBD
Deuteranopia (green-blind)
#7186BA
Tritanopia (blue-blind)
#669199
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #7987bb; /* rgb */ color: rgb(121, 135, 187); /* oklch */ color: oklch(63.2% 0.080 272.3);
Tailwind
colors: {
custom: {
50: '#a1a9cf',
500: '#7987bb',
950: '#000000',
},
}SCSS
$custom: #7987bb; $custom-light: #a1a9cf; $custom-dark: #000000;
JSON
{
"hex": "#7987bb",
"rgb": {
"r": 121,
"g": 135,
"b": 187
},
"hsl": {
"h": 227.273,
"s": 32.673,
"l": 60.392
},
"oklch": {
"l": 0.6325,
"c": 0.0802,
"h": 272.3
},
"luminance": 0.24981
}Semantic roles & 50–950 ramp
primary
#7987BB
secondary
#D5CFBB
accent
#933AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82