#797FBA#797FBA
#797FBA is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.5% C 0.089 H 279.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #797FBA |
|---|---|
| RGB | rgb(121, 127, 186) |
| HSL | hsl(234, 32%, 60%) |
| HSV | hsv(234, 35%, 73%) |
| CMYK | cmyk(34.9%, 31.7%, 0%, 27.1%) |
| CIE-LAB | lab(54.85, 12.09, -31.69) |
| CIE-LCH | lch(54.85, 33.92, 290.89°) |
| OKLab | oklab(61.53% 0.0139 -0.0883) |
| OKLCH | oklch(61.53% 0.089 279) |
| XYZ | xyz(24.3350, 22.7880, 49.5612) |
| Luminance | 0.2279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 8.07
Faded Blue
#658CBB
ΔE00 9.01
Soft Blue
#6488EA
ΔE00 9.71
Lavender Blue
#8B88F8
ΔE00 9.76
Cornflower
#6A79F7
ΔE00 9.87
Mediumpurple
#9370DB
ΔE00 9.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797FBA #BAB479
analogous
#799FBA #797FBA #9479BA
triadic
#797FBA #BA797F #7FBA79
tetradic
#797FBA #BA799F #BAB479 #79BA94
square
#797FBA #BA799F #BAB479 #79BA94
split-complementary
#797FBA #BA9479 #9FBA79
monochromatic
#3F447A #545BA2 #797FBA #A1A6CF #CACCE4
Accessibility & contrast
On white
3.78
#797FBA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#797FBA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797FBA
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797FBA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797FBA | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D86BC
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#678A94
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #797fba; /* rgb */ color: rgb(121, 127, 186); /* oklch */ color: oklch(61.5% 0.089 279.0);
Tailwind
colors: {
custom: {
50: '#a2a4cf',
500: '#797fba',
950: '#000000',
},
}SCSS
$custom: #797fba; $custom-light: #a2a4cf; $custom-dark: #000000;
JSON
{
"hex": "#797fba",
"rgb": {
"r": 121,
"g": 127,
"b": 186
},
"hsl": {
"h": 234.462,
"s": 32.02,
"l": 60.196
},
"oklch": {
"l": 0.6153,
"c": 0.08941,
"h": 279
},
"luminance": 0.22789
}Semantic roles & 50–950 ramp
primary
#797FBA
secondary
#D4D2BB
accent
#A03BAB
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#0F0F13
muted
#7F7F82