#797BDB#797BDB
#797BDB is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.5% C 0.143 H 280.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #797BDB |
|---|---|
| RGB | rgb(121, 123, 219) |
| HSL | hsl(239, 58%, 67%) |
| HSV | hsv(239, 45%, 86%) |
| CMYK | cmyk(44.7%, 43.8%, 0%, 14.1%) |
| CIE-LAB | lab(55.42, 23.84, -49.51) |
| CIE-LCH | lch(55.42, 54.95, 295.71°) |
| OKLab | oklab(62.5% 0.0261 -0.1401) |
| OKLCH | oklch(62.5% 0.143 280.5) |
| XYZ | xyz(27.7505, 23.3440, 70.0477) |
| Luminance | 0.2334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.65
Lavender Blue
#8B88F8
ΔE00 5.82
Perrywinkle
#8F8CE7
ΔE00 6.04
Periwinkle (survey)
#8E82FE
ΔE00 6.07
Mediumslateblue
#7B68EE
ΔE00 6.64
Mediumpurple
#9370DB
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797BDB #DBD979
analogous
#79ACDB #797BDB #A879DB
triadic
#797BDB #DB797B #7BDB79
tetradic
#797BDB #DB79AC #DBD979 #79DBA8
square
#797BDB #DB79AC #DBD979 #79DBA8
split-complementary
#797BDB #DBA879 #ACDB79
monochromatic
#2E31AC #494BCE #797BDB #A9ABE8 #D9DAF5
Accessibility & contrast
On white
3.70
#797BDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#797BDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797BDB
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797BDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797BDB | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5688DF
Deuteranopia (green-blind)
#5081D9
Tritanopia (blue-blind)
#588FA0
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #797bdb; /* rgb */ color: rgb(121, 123, 219); /* oklch */ color: oklch(62.5% 0.143 280.5);
Tailwind
colors: {
custom: {
50: '#a4a1e6',
500: '#797bdb',
950: '#000000',
},
}SCSS
$custom: #797bdb; $custom-light: #a4a1e6; $custom-dark: #000000;
JSON
{
"hex": "#797bdb",
"rgb": {
"r": 121,
"g": 123,
"b": 219
},
"hsl": {
"h": 238.776,
"s": 57.647,
"l": 66.667
},
"oklch": {
"l": 0.62495,
"c": 0.14253,
"h": 280.5
},
"luminance": 0.23345
}Semantic roles & 50–950 ramp
primary
#797BDB
secondary
#E8E7C8
accent
#C220C5
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84