#798FB2#798FB2
#798FB2 is a light, muted blue. Relative luminance 0.269; OKLCH L 64.6% C 0.058 H 259.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #798FB2 |
|---|---|
| RGB | rgb(121, 143, 178) |
| HSL | hsl(217, 27%, 59%) |
| HSV | hsv(217, 32%, 70%) |
| CMYK | cmyk(32%, 19.7%, 0%, 30.2%) |
| CIE-LAB | lab(58.90, 0.64, -20.87) |
| CIE-LCH | lch(58.90, 20.88, 271.74°) |
| OKLab | oklab(64.58% -0.0106 -0.0575) |
| OKLCH | oklch(64.58% 0.058 259.6) |
| XYZ | xyz(25.7411, 26.9232, 45.9513) |
| Luminance | 0.2692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.79
Blue Grey
#758DA3
ΔE00 5.26
Lightslategray
#778899
ΔE00 6.76
Dusty Blue
#5A86AD
ΔE00 7.07
Off Blue
#5684AE
ΔE00 7.67
Steel
#738595
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798FB2 #B29C79
analogous
#79ABB2 #798FB2 #7F79B2
triadic
#798FB2 #B2798F #8FB279
tetradic
#798FB2 #B279AB #B29C79 #79B27F
square
#798FB2 #B279AB #B29C79 #79B27F
split-complementary
#798FB2 #B27F79 #ABB279
monochromatic
#405370 #577097 #798FB2 #A0AFC8 #C7D0DF
Accessibility & contrast
On white
3.29
#798FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#798FB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798FB2
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798FB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798FB2 | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8391B4
Deuteranopia (green-blind)
#7D8BB1
Tritanopia (blue-blind)
#68969B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #798fb2; /* rgb */ color: rgb(121, 143, 178); /* oklch */ color: oklch(64.6% 0.058 259.6);
Tailwind
colors: {
custom: {
50: '#a1afc9',
500: '#798fb2',
950: '#000000',
},
}SCSS
$custom: #798fb2; $custom-light: #a1afc9; $custom-dark: #000000;
JSON
{
"hex": "#798fb2",
"rgb": {
"r": 121,
"g": 143,
"b": 178
},
"hsl": {
"h": 216.842,
"s": 27.014,
"l": 58.627
},
"oklch": {
"l": 0.64575,
"c": 0.05846,
"h": 259.6
},
"luminance": 0.26924
}Semantic roles & 50–950 ramp
primary
#798FB2
secondary
#CFC6B8
accent
#9F64C3
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82