#797EBA#797EBA
#797EBA is a mid, moderate blue. Relative luminance 0.225; OKLCH L 61.3% C 0.091 H 279.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #797EBA |
|---|---|
| RGB | rgb(121, 126, 186) |
| HSL | hsl(235, 32%, 60%) |
| HSV | hsv(235, 35%, 73%) |
| CMYK | cmyk(34.9%, 32.3%, 0%, 27.1%) |
| CIE-LAB | lab(54.59, 12.68, -32.10) |
| CIE-LCH | lch(54.59, 34.52, 291.56°) |
| OKLab | oklab(61.32% 0.0153 -0.0895) |
| OKLCH | oklch(61.32% 0.091 279.7) |
| XYZ | xyz(24.2064, 22.5310, 49.5184) |
| Luminance | 0.2253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 8.18
Faded Blue
#658CBB
ΔE00 9.29
Mediumpurple
#9370DB
ΔE00 9.71
Lavender Blue
#8B88F8
ΔE00 9.84
Cornflower
#6A79F7
ΔE00 9.87
Soft Blue
#6488EA
ΔE00 9.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797EBA #BAB579
analogous
#799EBA #797EBA #9579BA
triadic
#797EBA #BA797E #7EBA79
tetradic
#797EBA #BA799E #BAB579 #79BA95
square
#797EBA #BA799E #BAB579 #79BA95
split-complementary
#797EBA #BA9579 #9EBA79
monochromatic
#3F437A #545AA2 #797EBA #A1A5CF #CACCE4
Accessibility & contrast
On white
3.81
#797EBA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#797EBA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797EBA
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797EBA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797EBA | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B85BC
Deuteranopia (green-blind)
#6880B9
Tritanopia (blue-blind)
#678994
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #797eba; /* rgb */ color: rgb(121, 126, 186); /* oklch */ color: oklch(61.3% 0.091 279.7);
Tailwind
colors: {
custom: {
50: '#a2a3cf',
500: '#797eba',
950: '#000000',
},
}SCSS
$custom: #797eba; $custom-light: #a2a3cf; $custom-dark: #000000;
JSON
{
"hex": "#797eba",
"rgb": {
"r": 121,
"g": 126,
"b": 186
},
"hsl": {
"h": 235.385,
"s": 32.02,
"l": 60.196
},
"oklch": {
"l": 0.61323,
"c": 0.09082,
"h": 279.7
},
"luminance": 0.22532
}Semantic roles & 50–950 ramp
primary
#797EBA
secondary
#D4D2BB
accent
#A23BAB
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#0F0F13
muted
#7F7F82