#797FD1#797FD1
#797FD1 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.7% C 0.123 H 279.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #797FD1 |
|---|---|
| RGB | rgb(121, 127, 209) |
| HSL | hsl(236, 49%, 65%) |
| HSV | hsv(236, 42%, 82%) |
| CMYK | cmyk(42.1%, 39.2%, 0%, 18%) |
| CIE-LAB | lab(55.93, 18.54, -43.07) |
| CIE-LCH | lch(55.93, 46.89, 293.30°) |
| OKLab | oklab(62.71% 0.0193 -0.1213) |
| OKLCH | oklch(62.71% 0.123 279) |
| XYZ | xyz(26.9797, 23.8459, 63.4904) |
| Luminance | 0.2385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.68
Cornflower
#6A79F7
ΔE00 6.16
Lavender Blue
#8B88F8
ΔE00 6.41
Soft Blue
#6488EA
ΔE00 7.01
Periwinkle (survey)
#8E82FE
ΔE00 7.23
Cornflower Blue
#5170D7
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797FD1 #D1CB79
analogous
#79ABD1 #797FD1 #9F79D1
triadic
#797FD1 #D1797F #7FD179
tetradic
#797FD1 #D179AB #D1CB79 #79D19F
square
#797FD1 #D179AB #D1CB79 #79D19F
split-complementary
#797FD1 #D19F79 #ABD179
monochromatic
#353C9B #4B53C1 #797FD1 #A7ABE1 #D4D6F0
Accessibility & contrast
On white
3.64
#797FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#797FD1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797FD1
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797FD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797FD1 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6289D4
Deuteranopia (green-blind)
#5C83CF
Tritanopia (blue-blind)
#5D8F9E
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #797fd1; /* rgb */ color: rgb(121, 127, 209); /* oklch */ color: oklch(62.7% 0.123 279.0);
Tailwind
colors: {
custom: {
50: '#a3a4df',
500: '#797fd1',
950: '#000000',
},
}SCSS
$custom: #797fd1; $custom-light: #a3a4df; $custom-dark: #000000;
JSON
{
"hex": "#797fd1",
"rgb": {
"r": 121,
"g": 127,
"b": 209
},
"hsl": {
"h": 235.909,
"s": 48.889,
"l": 64.706
},
"oklch": {
"l": 0.62714,
"c": 0.12283,
"h": 279
},
"luminance": 0.23847
}Semantic roles & 50–950 ramp
primary
#797FD1
secondary
#E2E0C4
accent
#B229BC
background
#FAFAFD
surface
#F4F3FB
border
#CECDD4
text
#0F0F15
muted
#7F7F83