#798FC0#798FC0
#798FC0 is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.2% C 0.078 H 265.6°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #798FC0 |
|---|---|
| RGB | rgb(121, 143, 192) |
| HSL | hsl(221, 36%, 61%) |
| HSV | hsv(221, 37%, 75%) |
| CMYK | cmyk(37%, 25.5%, 0%, 24.7%) |
| CIE-LAB | lab(59.45, 4.37, -27.97) |
| CIE-LCH | lch(59.45, 28.31, 278.87°) |
| OKLab | oklab(65.18% -0.006 -0.0777) |
| OKLCH | oklch(65.18% 0.078 265.6) |
| XYZ | xyz(27.2192, 27.5144, 53.7356) |
| Luminance | 0.2752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.92
Soft Blue
#6488EA
ΔE00 6.64
Perrywinkle
#8F8CE7
ΔE00 7.27
Cornflowerblue
#6495ED
ΔE00 7.45
Blue Grey
#758DA3
ΔE00 7.93
Dusty Blue
#5A86AD
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798FC0 #C0AA79
analogous
#79B3C0 #798FC0 #8779C0
triadic
#798FC0 #C0798F #8FC079
tetradic
#798FC0 #C079B3 #C0AA79 #79C087
square
#798FC0 #C079B3 #C0AA79 #79C087
split-complementary
#798FC0 #C08779 #B3C079
monochromatic
#3D5282 #516DAB #798FC0 #A3B2D4 #CCD5E7
Accessibility & contrast
On white
3.23
#798FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#798FC0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798FC0
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798FC0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798FC0 | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E93C2
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#6399A0
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #798fc0; /* rgb */ color: rgb(121, 143, 192); /* oklch */ color: oklch(65.2% 0.078 265.6);
Tailwind
colors: {
custom: {
50: '#a2afd3',
500: '#798fc0',
950: '#000000',
},
}SCSS
$custom: #798fc0; $custom-light: #a2afd3; $custom-dark: #000000;
JSON
{
"hex": "#798fc0",
"rgb": {
"r": 121,
"g": 143,
"b": 192
},
"hsl": {
"h": 221.408,
"s": 36.041,
"l": 61.373
},
"oklch": {
"l": 0.6518,
"c": 0.07789,
"h": 265.6
},
"luminance": 0.27516
}Semantic roles & 50–950 ramp
primary
#798FC0
secondary
#D8CFBD
accent
#8A37AF
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82