#7986BA#7986BA
#7986BA is a light, moderate blue. Relative luminance 0.247; OKLCH L 63.0% C 0.080 H 273.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7986BA |
|---|---|
| RGB | rgb(121, 134, 186) |
| HSL | hsl(228, 32%, 60%) |
| HSV | hsv(228, 35%, 73%) |
| CMYK | cmyk(34.9%, 28%, 0%, 27.1%) |
| CIE-LAB | lab(56.74, 7.97, -28.75) |
| CIE-LCH | lch(56.74, 29.84, 285.49°) |
| OKLab | oklab(62.99% 0.0044 -0.0799) |
| OKLCH | oklch(62.99% 0.08 273.1) |
| XYZ | xyz(25.2706, 24.6593, 49.8731) |
| Luminance | 0.2466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 7.08
Perrywinkle
#8F8CE7
ΔE00 7.62
Soft Blue
#6488EA
ΔE00 8.46
Blue Grey
#758DA3
ΔE00 9.26
Dusty Blue
#5A86AD
ΔE00 9.29
Lavender Blue
#8B88F8
ΔE00 9.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7986BA #BAAD79
analogous
#79A6BA #7986BA #8C79BA
triadic
#7986BA #BA7986 #86BA79
tetradic
#7986BA #BA79A6 #BAAD79 #79BA8C
square
#7986BA #BA79A6 #BAAD79 #79BA8C
split-complementary
#7986BA #BA8C79 #A6BA79
monochromatic
#3F4B7A #5463A2 #7986BA #A1AACF #CACFE4
Accessibility & contrast
On white
3.54
#7986BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#7986BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7986BA
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7986BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7986BA | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#758BBC
Deuteranopia (green-blind)
#7086B9
Tritanopia (blue-blind)
#669098
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #7986ba; /* rgb */ color: rgb(121, 134, 186); /* oklch */ color: oklch(63.0% 0.080 273.1);
Tailwind
colors: {
custom: {
50: '#a1a9cf',
500: '#7986ba',
950: '#000000',
},
}SCSS
$custom: #7986ba; $custom-light: #a1a9cf; $custom-dark: #000000;
JSON
{
"hex": "#7986ba",
"rgb": {
"r": 121,
"g": 134,
"b": 186
},
"hsl": {
"h": 228,
"s": 32.02,
"l": 60.196
},
"oklch": {
"l": 0.62993,
"c": 0.08001,
"h": 273.1
},
"luminance": 0.2466
}Semantic roles & 50–950 ramp
primary
#7986BA
secondary
#D4CFBB
accent
#943BAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F13
muted
#7F7F82