#7981BB#7981BB
#7981BB is a mid, moderate blue. Relative luminance 0.234; OKLCH L 62.0% C 0.088 H 277.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7981BB |
|---|---|
| RGB | rgb(121, 129, 187) |
| HSL | hsl(233, 33%, 60%) |
| HSV | hsv(233, 35%, 73%) |
| CMYK | cmyk(35.3%, 31%, 0%, 26.7%) |
| CIE-LAB | lab(55.43, 11.18, -31.35) |
| CIE-LCH | lch(55.43, 33.29, 289.63°) |
| OKLab | oklab(61.99% 0.0115 -0.0874) |
| OKLCH | oklch(61.99% 0.088 277.5) |
| XYZ | xyz(24.7025, 23.3524, 50.2100) |
| Luminance | 0.2335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 7.74
Faded Blue
#658CBB
ΔE00 8.41
Soft Blue
#6488EA
ΔE00 9.19
Lavender Blue
#8B88F8
ΔE00 9.47
Cornflower
#6A79F7
ΔE00 9.72
Blue Grey
#758DA3
ΔE00 10.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7981BB #BBB379
analogous
#79A2BB #7981BB #9279BB
triadic
#7981BB #BB7981 #81BB79
tetradic
#7981BB #BB79A2 #BBB379 #79BB92
square
#7981BB #BB79A2 #BBB379 #79BB92
split-complementary
#7981BB #BB9279 #A2BB79
monochromatic
#3E467B #535DA4 #7981BB #A2A7D0 #CACDE4
Accessibility & contrast
On white
3.70
#7981BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#7981BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7981BB
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7981BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7981BB | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F87BD
Deuteranopia (green-blind)
#6B82BA
Tritanopia (blue-blind)
#678C96
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #7981bb; /* rgb */ color: rgb(121, 129, 187); /* oklch */ color: oklch(62.0% 0.088 277.5);
Tailwind
colors: {
custom: {
50: '#a2a5cf',
500: '#7981bb',
950: '#000000',
},
}SCSS
$custom: #7981bb; $custom-light: #a2a5cf; $custom-dark: #000000;
JSON
{
"hex": "#7981bb",
"rgb": {
"r": 121,
"g": 129,
"b": 187
},
"hsl": {
"h": 232.727,
"s": 32.673,
"l": 60.392
},
"oklch": {
"l": 0.61993,
"c": 0.08811,
"h": 277.5
},
"luminance": 0.23353
}Semantic roles & 50–950 ramp
primary
#7981BB
secondary
#D5D1BB
accent
#9E3AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82