#797CE5#797CE5
#797CE5 is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.3% C 0.155 H 279.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #797CE5 |
|---|---|
| RGB | rgb(121, 124, 229) |
| HSL | hsl(238, 68%, 69%) |
| HSV | hsv(238, 47%, 90%) |
| CMYK | cmyk(47.2%, 45.9%, 0%, 10.2%) |
| CIE-LAB | lab(56.22, 26.19, -53.84) |
| CIE-LCH | lch(56.22, 59.87, 295.94°) |
| OKLab | oklab(63.28% 0.0263 -0.1528) |
| OKLCH | oklch(63.28% 0.155 279.8) |
| XYZ | xyz(29.2314, 24.1359, 77.2320) |
| Luminance | 0.2414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.48
Lavender Blue
#8B88F8
ΔE00 4.86
Periwinkle (survey)
#8E82FE
ΔE00 5.02
Perrywinkle
#8F8CE7
ΔE00 5.79
Mediumslateblue
#7B68EE
ΔE00 6.45
Soft Blue
#6488EA
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797CE5 #E5E279
analogous
#79B2E5 #797CE5 #AC79E5
triadic
#797CE5 #E5797C #7CE579
tetradic
#797CE5 #E579B2 #E5E279 #79E5AC
square
#797CE5 #E579B2 #E5E279 #79E5AC
split-complementary
#797CE5 #E5AC79 #B2E579
monochromatic
#2529BF #464ADB #797CE5 #ACAEEF #E0E0F9
Accessibility & contrast
On white
3.60
#797CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#797CE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797CE5
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797CE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797CE5 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508BE9
Deuteranopia (green-blind)
#4883E3
Tritanopia (blue-blind)
#5292A5
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #797ce5; /* rgb */ color: rgb(121, 124, 229); /* oklch */ color: oklch(63.3% 0.155 279.8);
Tailwind
colors: {
custom: {
50: '#a6a1ee',
500: '#797ce5',
950: '#000000',
},
}SCSS
$custom: #797ce5; $custom-light: #a6a1ee; $custom-dark: #000000;
JSON
{
"hex": "#797ce5",
"rgb": {
"r": 121,
"g": 124,
"b": 229
},
"hsl": {
"h": 238.333,
"s": 67.5,
"l": 68.627
},
"oklch": {
"l": 0.63279,
"c": 0.15507,
"h": 279.8
},
"luminance": 0.24137
}Semantic roles & 50–950 ramp
primary
#797CE5
secondary
#EDECCD
accent
#CA16CF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F16
muted
#7F7E84