#798CB2#798CB2
#798CB2 is a light, moderate blue. Relative luminance 0.260; OKLCH L 63.9% C 0.061 H 264.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #798CB2 |
|---|---|
| RGB | rgb(121, 140, 178) |
| HSL | hsl(220, 27%, 59%) |
| HSV | hsv(220, 32%, 70%) |
| CMYK | cmyk(32%, 21.3%, 0%, 30.2%) |
| CIE-LAB | lab(58.07, 2.36, -22.15) |
| CIE-LCH | lch(58.07, 22.27, 276.07°) |
| OKLab | oklab(63.92% -0.0064 -0.0611) |
| OKLCH | oklch(63.92% 0.061 264) |
| XYZ | xyz(25.2968, 26.0345, 45.8031) |
| Luminance | 0.2604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.46
Blue Grey
#758DA3
ΔE00 6.56
Lightslategray
#778899
ΔE00 7.65
Dusty Blue
#5A86AD
ΔE00 7.74
Off Blue
#5684AE
ΔE00 8.18
Soft Blue
#6488EA
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798CB2 #B29F79
analogous
#79A8B2 #798CB2 #8279B2
triadic
#798CB2 #B2798C #8CB279
tetradic
#798CB2 #B279A8 #B29F79 #79B282
square
#798CB2 #B279A8 #B29F79 #79B282
split-complementary
#798CB2 #B28279 #A8B279
monochromatic
#405070 #576C97 #798CB2 #A0ADC8 #C7CFDF
Accessibility & contrast
On white
3.38
#798CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#798CB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798CB2
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798CB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798CB2 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F8EB4
Deuteranopia (green-blind)
#7A89B1
Tritanopia (blue-blind)
#699499
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #798cb2; /* rgb */ color: rgb(121, 140, 178); /* oklch */ color: oklch(63.9% 0.061 264.0);
Tailwind
colors: {
custom: {
50: '#a1adc9',
500: '#798cb2',
950: '#000000',
},
}SCSS
$custom: #798cb2; $custom-light: #a1adc9; $custom-dark: #000000;
JSON
{
"hex": "#798cb2",
"rgb": {
"r": 121,
"g": 140,
"b": 178
},
"hsl": {
"h": 220,
"s": 27.014,
"l": 58.627
},
"oklch": {
"l": 0.63922,
"c": 0.06144,
"h": 264
},
"luminance": 0.26035
}Semantic roles & 50–950 ramp
primary
#798CB2
secondary
#CFC7B8
accent
#A464C3
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82