#7981BA#7981BA
#7981BA is a mid, moderate blue. Relative luminance 0.233; OKLCH L 61.9% C 0.087 H 277.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7981BA |
|---|---|
| RGB | rgb(121, 129, 186) |
| HSL | hsl(233, 32%, 60%) |
| HSV | hsv(233, 35%, 73%) |
| CMYK | cmyk(34.9%, 30.6%, 0%, 27.1%) |
| CIE-LAB | lab(55.39, 10.91, -30.85) |
| CIE-LCH | lch(55.39, 32.72, 289.47°) |
| OKLab | oklab(61.94% 0.0112 -0.0859) |
| OKLCH | oklch(61.94% 0.087 277.4) |
| XYZ | xyz(24.5958, 23.3097, 49.6482) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 7.88
Faded Blue
#658CBB
ΔE00 8.46
Soft Blue
#6488EA
ΔE00 9.33
Lavender Blue
#8B88F8
ΔE00 9.63
Cornflower
#6A79F7
ΔE00 9.89
Blue Grey
#758DA3
ΔE00 10.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7981BA #BAB279
analogous
#79A2BA #7981BA #9179BA
triadic
#7981BA #BA7981 #81BA79
tetradic
#7981BA #BA79A2 #BAB279 #79BA91
square
#7981BA #BA79A2 #BAB279 #79BA91
split-complementary
#7981BA #BA9179 #A2BA79
monochromatic
#3F467A #545DA2 #7981BA #A1A7CF #CACDE4
Accessibility & contrast
On white
3.71
#7981BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#7981BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7981BA
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7981BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7981BA | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F87BC
Deuteranopia (green-blind)
#6B82B9
Tritanopia (blue-blind)
#678C95
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #7981ba; /* rgb */ color: rgb(121, 129, 186); /* oklch */ color: oklch(61.9% 0.087 277.4);
Tailwind
colors: {
custom: {
50: '#a1a5cf',
500: '#7981ba',
950: '#000000',
},
}SCSS
$custom: #7981ba; $custom-light: #a1a5cf; $custom-dark: #000000;
JSON
{
"hex": "#7981ba",
"rgb": {
"r": 121,
"g": 129,
"b": 186
},
"hsl": {
"h": 232.615,
"s": 32.02,
"l": 60.196
},
"oklch": {
"l": 0.61945,
"c": 0.08663,
"h": 277.4
},
"luminance": 0.23311
}Semantic roles & 50–950 ramp
primary
#7981BA
secondary
#D4D1BB
accent
#9D3BAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F13
muted
#7F7F82