#797AE5#797AE5
#797AE5 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.9% C 0.158 H 280.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #797AE5 |
|---|---|
| RGB | rgb(121, 122, 229) |
| HSL | hsl(239, 68%, 69%) |
| HSV | hsv(239, 47%, 90%) |
| CMYK | cmyk(47.2%, 46.7%, 0%, 10.2%) |
| CIE-LAB | lab(55.73, 27.38, -54.64) |
| CIE-LCH | lch(55.73, 61.11, 296.62°) |
| OKLab | oklab(62.9% 0.0286 -0.1552) |
| OKLCH | oklch(62.9% 0.158 280.5) |
| XYZ | xyz(28.9833, 23.6397, 77.1493) |
| Luminance | 0.2364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.49
Periwinkle (survey)
#8E82FE
ΔE00 5.15
Lavender Blue
#8B88F8
ΔE00 5.24
Mediumslateblue
#7B68EE
ΔE00 5.80
Perrywinkle
#8F8CE7
ΔE00 6.24
Mediumpurple
#9370DB
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797AE5 #E5E479
analogous
#79B0E5 #797AE5 #AE79E5
triadic
#797AE5 #E5797A #7AE579
tetradic
#797AE5 #E579B0 #E5E479 #79E5AE
square
#797AE5 #E579B0 #E5E479 #79E5AE
split-complementary
#797AE5 #E5AE79 #B0E579
monochromatic
#2526BF #4647DB #797AE5 #ACADEF #E0E0F9
Accessibility & contrast
On white
3.67
#797AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#797AE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797AE5
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797AE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797AE5 | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#4582E3
Tritanopia (blue-blind)
#5291A4
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #797ae5; /* rgb */ color: rgb(121, 122, 229); /* oklch */ color: oklch(62.9% 0.158 280.5);
Tailwind
colors: {
custom: {
50: '#a6a0ee',
500: '#797ae5',
950: '#000000',
},
}SCSS
$custom: #797ae5; $custom-light: #a6a0ee; $custom-dark: #000000;
JSON
{
"hex": "#797ae5",
"rgb": {
"r": 121,
"g": 122,
"b": 229
},
"hsl": {
"h": 239.444,
"s": 67.5,
"l": 68.627
},
"oklch": {
"l": 0.62902,
"c": 0.15779,
"h": 280.5
},
"luminance": 0.23641
}Semantic roles & 50–950 ramp
primary
#797AE5
secondary
#EDEDCD
accent
#CE16CF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84