#798FDA#798FDA
#798FDA is a light, moderate blue. Relative luminance 0.288; OKLCH L 66.4% C 0.115 H 270.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #798FDA |
|---|---|
| RGB | rgb(121, 143, 218) |
| HSL | hsl(226, 57%, 66%) |
| HSV | hsv(226, 44%, 85%) |
| CMYK | cmyk(44.5%, 34.4%, 0%, 14.5%) |
| CIE-LAB | lab(60.58, 11.70, -40.80) |
| CIE-LCH | lch(60.58, 42.45, 286.01°) |
| OKLab | oklab(66.43% 0.0012 -0.1147) |
| OKLCH | oklch(66.43% 0.115 270.6) |
| XYZ | xyz(30.3585, 28.7702, 70.2696) |
| Luminance | 0.2877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 4.31
Perrywinkle
#8F8CE7
ΔE00 5.59
Cornflowerblue
#6495ED
ΔE00 5.66
Periwinkle Blue
#8F99FB
ΔE00 5.74
Faded Blue
#658CBB
ΔE00 5.88
Lavender Blue
#8B88F8
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798FDA #DAC479
analogous
#79C0DA #798FDA #9479DA
triadic
#798FDA #DA798F #8FDA79
tetradic
#798FDA #DA79C0 #DAC479 #79DA94
square
#798FDA #DA79C0 #DAC479 #79DA94
split-complementary
#798FDA #DA9479 #C0DA79
monochromatic
#2F4BAA #4967CD #798FDA #A9B7E7 #D9DFF4
Accessibility & contrast
On white
3.11
#798FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#798FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798FDA
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798FDA | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7497DD
Deuteranopia (green-blind)
#6B8ED8
Tritanopia (blue-blind)
#569EAA
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #798fda; /* rgb */ color: rgb(121, 143, 218); /* oklch */ color: oklch(66.4% 0.115 270.6);
Tailwind
colors: {
custom: {
50: '#a4afe6',
500: '#798fda',
950: '#000000',
},
}SCSS
$custom: #798fda; $custom-light: #a4afe6; $custom-dark: #000000;
JSON
{
"hex": "#798fda",
"rgb": {
"r": 121,
"g": 143,
"b": 218
},
"hsl": {
"h": 226.392,
"s": 56.725,
"l": 66.471
},
"oklch": {
"l": 0.66431,
"c": 0.11467,
"h": 270.6
},
"luminance": 0.28772
}Semantic roles & 50–950 ramp
primary
#798FDA
secondary
#E7E0C8
accent
#9F21C4
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1016
muted
#7F7F84