#797BCA#797BCA
#797BCA is a mid, moderate blue. Relative luminance 0.225; OKLCH L 61.5% C 0.118 H 281.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #797BCA |
|---|---|
| RGB | rgb(121, 123, 202) |
| HSL | hsl(239, 43%, 63%) |
| HSV | hsv(239, 40%, 79%) |
| CMYK | cmyk(40.1%, 39.1%, 0%, 20.8%) |
| CIE-LAB | lab(54.55, 18.93, -41.29) |
| CIE-LCH | lch(54.55, 45.42, 294.63°) |
| OKLab | oklab(61.54% 0.0231 -0.1161) |
| OKLCH | oklch(61.54% 0.118 281.2) |
| XYZ | xyz(25.6257, 22.4941, 58.8572) |
| Luminance | 0.2250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 6.87
Cornflower
#6A79F7
ΔE00 7.14
Mediumpurple
#9370DB
ΔE00 7.64
Lavender Blue
#8B88F8
ΔE00 7.74
Cornflower Blue
#5170D7
ΔE00 8.15
Periwinkle (survey)
#8E82FE
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797BCA #CAC879
analogous
#79A3CA #797BCA #9F79CA
triadic
#797BCA #CA797B #7BCA79
tetradic
#797BCA #CA79A3 #CAC879 #79CA9F
square
#797BCA #CA79A3 #CAC879 #79CA9F
split-complementary
#797BCA #CA9F79 #A3CA79
monochromatic
#393B90 #4D50B9 #797BCA #A5A6DB #D1D1ED
Accessibility & contrast
On white
3.82
#797BCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#797BCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797BCA
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797BCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797BCA | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6085CD
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#618B99
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #797bca; /* rgb */ color: rgb(121, 123, 202); /* oklch */ color: oklch(61.5% 0.118 281.2);
Tailwind
colors: {
custom: {
50: '#a3a1da',
500: '#797bca',
950: '#000000',
},
}SCSS
$custom: #797bca; $custom-light: #a3a1da; $custom-dark: #000000;
JSON
{
"hex": "#797bca",
"rgb": {
"r": 121,
"g": 123,
"b": 202
},
"hsl": {
"h": 238.519,
"s": 43.316,
"l": 63.333
},
"oklch": {
"l": 0.6154,
"c": 0.1184,
"h": 281.2
},
"luminance": 0.22495
}Semantic roles & 50–950 ramp
primary
#797BCA
secondary
#DEDDC1
accent
#B32FB6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83