#798EB2#798EB2
#798EB2 is a light, muted blue. Relative luminance 0.266; OKLCH L 64.4% C 0.059 H 261.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #798EB2 |
|---|---|
| RGB | rgb(121, 142, 178) |
| HSL | hsl(218, 27%, 59%) |
| HSV | hsv(218, 32%, 70%) |
| CMYK | cmyk(32%, 20.2%, 0%, 30.2%) |
| CIE-LAB | lab(58.63, 1.21, -21.30) |
| CIE-LCH | lch(58.63, 21.33, 273.25°) |
| OKLab | oklab(64.36% -0.0092 -0.0587) |
| OKLCH | oklch(64.36% 0.059 261.1) |
| XYZ | xyz(25.5917, 26.6243, 45.9014) |
| Luminance | 0.2662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.97
Blue Grey
#758DA3
ΔE00 5.69
Lightslategray
#778899
ΔE00 7.04
Dusty Blue
#5A86AD
ΔE00 7.27
Off Blue
#5684AE
ΔE00 7.82
Steel
#738595
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798EB2 #B29D79
analogous
#79AAB2 #798EB2 #8079B2
triadic
#798EB2 #B2798E #8EB279
tetradic
#798EB2 #B279AA #B29D79 #79B280
square
#798EB2 #B279AA #B29D79 #79B280
split-complementary
#798EB2 #B28079 #AAB279
monochromatic
#405270 #576E97 #798EB2 #A0AFC8 #C7D0DF
Accessibility & contrast
On white
3.32
#798EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#798EB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798EB2
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798EB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798EB2 | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8290B4
Deuteranopia (green-blind)
#7C8BB1
Tritanopia (blue-blind)
#68959A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #798eb2; /* rgb */ color: rgb(121, 142, 178); /* oklch */ color: oklch(64.4% 0.059 261.1);
Tailwind
colors: {
custom: {
50: '#a1afc9',
500: '#798eb2',
950: '#000000',
},
}SCSS
$custom: #798eb2; $custom-light: #a1afc9; $custom-dark: #000000;
JSON
{
"hex": "#798eb2",
"rgb": {
"r": 121,
"g": 142,
"b": 178
},
"hsl": {
"h": 217.895,
"s": 27.014,
"l": 58.627
},
"oklch": {
"l": 0.64357,
"c": 0.05942,
"h": 261.1
},
"luminance": 0.26625
}Semantic roles & 50–950 ramp
primary
#798EB2
secondary
#CFC6B8
accent
#A064C3
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82