#798CF3#798CF3
#798CF3 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.2% C 0.153 H 273.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #798CF3 |
|---|---|
| RGB | rgb(121, 140, 243) |
| HSL | hsl(231, 84%, 71%) |
| HSV | hsv(231, 50%, 95%) |
| CMYK | cmyk(50.2%, 42.4%, 0%, 4.7%) |
| CIE-LAB | lab(61.04, 20.91, -53.94) |
| CIE-LCH | lch(61.04, 57.85, 291.18°) |
| OKLab | oklab(67.19% 0.0099 -0.153) |
| OKLCH | oklch(67.19% 0.153 273.7) |
| XYZ | xyz(33.4358, 29.2901, 88.6683) |
| Luminance | 0.2929 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.86
Lavender Blue
#8B88F8
ΔE00 4.24
Periwinkle Blue
#8F99FB
ΔE00 4.70
Perrywinkle
#8F8CE7
ΔE00 5.24
Cornflower
#6A79F7
ΔE00 5.86
Periwinkle (survey)
#8E82FE
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798CF3 #F3E079
analogous
#79C9F3 #798CF3 #A379F3
triadic
#798CF3 #F3798C #8CF379
tetradic
#798CF3 #F379C9 #F3E079 #79F3A3
square
#798CF3 #F379C9 #F3E079 #79F3A3
split-complementary
#798CF3 #F3A379 #C9F379
monochromatic
#1433DE #415CEE #798CF3 #B1BCF8 #E3E7FC
Accessibility & contrast
On white
3.06
#798CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#798CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798CF3
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798CF3 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6299F7
Deuteranopia (green-blind)
#558EF1
Tritanopia (blue-blind)
#45A2B4
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #798cf3; /* rgb */ color: rgb(121, 140, 243); /* oklch */ color: oklch(67.2% 0.153 273.7);
Tailwind
colors: {
custom: {
50: '#a7adf7',
500: '#798cf3',
950: '#000000',
},
}SCSS
$custom: #798cf3; $custom-light: #a7adf7; $custom-dark: #000000;
JSON
{
"hex": "#798cf3",
"rgb": {
"r": 121,
"g": 140,
"b": 243
},
"hsl": {
"h": 230.656,
"s": 83.562,
"l": 71.373
},
"oklch": {
"l": 0.67189,
"c": 0.15334,
"h": 273.7
},
"luminance": 0.29292
}Semantic roles & 50–950 ramp
primary
#798CF3
secondary
#F4EFD4
accent
#BE06E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85