#798EB8#798EB8
#798EB8 is a light, moderate blue. Relative luminance 0.269; OKLCH L 64.6% C 0.068 H 263.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #798EB8 |
|---|---|
| RGB | rgb(121, 142, 184) |
| HSL | hsl(220, 31%, 60%) |
| HSV | hsv(220, 34%, 72%) |
| CMYK | cmyk(34.2%, 22.8%, 0%, 27.8%) |
| CIE-LAB | lab(58.85, 2.79, -24.36) |
| CIE-LCH | lch(58.85, 24.51, 276.53°) |
| OKLab | oklab(64.61% -0.0072 -0.0674) |
| OKLCH | oklch(64.61% 0.068 263.9) |
| XYZ | xyz(26.2073, 26.8705, 49.1438) |
| Luminance | 0.2687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.97
Blue Grey
#758DA3
ΔE00 7.03
Soft Blue
#6488EA
ΔE00 7.54
Dusty Blue
#5A86AD
ΔE00 7.72
Perrywinkle
#8F8CE7
ΔE00 7.92
Off Blue
#5684AE
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798EB8 #B8A379
analogous
#79AEB8 #798EB8 #8479B8
triadic
#798EB8 #B8798E #8EB879
tetradic
#798EB8 #B879AE #B8A379 #79B884
square
#798EB8 #B879AE #B8A379 #79B884
split-complementary
#798EB8 #B88479 #AEB879
monochromatic
#3F5277 #546D9F #798EB8 #A1B0CD #C9D1E2
Accessibility & contrast
On white
3.29
#798EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#798EB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798EB8
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798EB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798EB8 | 1.00 | 3.29 | 6.37 | 6.37 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8091BA
Deuteranopia (green-blind)
#7A8BB7
Tritanopia (blue-blind)
#66979C
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #798eb8; /* rgb */ color: rgb(121, 142, 184); /* oklch */ color: oklch(64.6% 0.068 263.9);
Tailwind
colors: {
custom: {
50: '#a1aecd',
500: '#798eb8',
950: '#000000',
},
}SCSS
$custom: #798eb8; $custom-light: #a1aecd; $custom-dark: #000000;
JSON
{
"hex": "#798eb8",
"rgb": {
"r": 121,
"g": 142,
"b": 184
},
"hsl": {
"h": 220,
"s": 30.732,
"l": 59.804
},
"oklch": {
"l": 0.64612,
"c": 0.06774,
"h": 263.9
},
"luminance": 0.26872
}Semantic roles & 50–950 ramp
primary
#798EB8
secondary
#D3CABA
accent
#A561C7
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F1013
muted
#7F7F82