#798CB3#798CB3
#798CB3 is a light, moderate blue. Relative luminance 0.261; OKLCH L 64.0% C 0.063 H 264.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #798CB3 |
|---|---|
| RGB | rgb(121, 140, 179) |
| HSL | hsl(220, 28%, 59%) |
| HSV | hsv(220, 32%, 70%) |
| CMYK | cmyk(32.4%, 21.8%, 0%, 29.8%) |
| CIE-LAB | lab(58.11, 2.62, -22.66) |
| CIE-LCH | lch(58.11, 22.81, 276.59°) |
| OKLab | oklab(63.97% -0.0061 -0.0625) |
| OKLCH | oklch(63.97% 0.063 264.4) |
| XYZ | xyz(25.3976, 26.0748, 46.3338) |
| Luminance | 0.2608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.46
Blue Grey
#758DA3
ΔE00 6.77
Dusty Blue
#5A86AD
ΔE00 7.81
Lightslategray
#778899
ΔE00 7.89
Off Blue
#5684AE
ΔE00 8.24
Soft Blue
#6488EA
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798CB3 #B3A079
analogous
#79A9B3 #798CB3 #8379B3
triadic
#798CB3 #B3798C #8CB379
tetradic
#798CB3 #B379A9 #B3A079 #79B383
square
#798CB3 #B379A9 #B3A079 #79B383
split-complementary
#798CB3 #B38379 #A9B379
monochromatic
#405071 #566C98 #798CB3 #A0AEC9 #C7CFDF
Accessibility & contrast
On white
3.38
#798CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#798CB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798CB3
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798CB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798CB3 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F8FB5
Deuteranopia (green-blind)
#7A89B2
Tritanopia (blue-blind)
#689499
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #798cb3; /* rgb */ color: rgb(121, 140, 179); /* oklch */ color: oklch(64.0% 0.063 264.4);
Tailwind
colors: {
custom: {
50: '#a1adc9',
500: '#798cb3',
950: '#000000',
},
}SCSS
$custom: #798cb3; $custom-light: #a1adc9; $custom-dark: #000000;
JSON
{
"hex": "#798cb3",
"rgb": {
"r": 121,
"g": 140,
"b": 179
},
"hsl": {
"h": 220.345,
"s": 27.619,
"l": 58.824
},
"oklch": {
"l": 0.63965,
"c": 0.06284,
"h": 264.4
},
"luminance": 0.26076
}Semantic roles & 50–950 ramp
primary
#798CB3
secondary
#CFC8B8
accent
#A464C4
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82