#798EB3#798EB3
#798EB3 is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.4% C 0.061 H 261.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #798EB3 |
|---|---|
| RGB | rgb(121, 142, 179) |
| HSL | hsl(218, 28%, 59%) |
| HSV | hsv(218, 32%, 70%) |
| CMYK | cmyk(32.4%, 20.7%, 0%, 29.8%) |
| CIE-LAB | lab(58.66, 1.47, -21.81) |
| CIE-LCH | lch(58.66, 21.86, 273.85°) |
| OKLab | oklab(64.4% -0.0088 -0.0601) |
| OKLCH | oklch(64.4% 0.061 261.6) |
| XYZ | xyz(25.6925, 26.6646, 46.4321) |
| Luminance | 0.2667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.96
Blue Grey
#758DA3
ΔE00 5.95
Lightslategray
#778899
ΔE00 7.30
Dusty Blue
#5A86AD
ΔE00 7.35
Off Blue
#5684AE
ΔE00 7.88
Soft Blue
#6488EA
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798EB3 #B39E79
analogous
#79ABB3 #798EB3 #8179B3
triadic
#798EB3 #B3798E #8EB379
tetradic
#798EB3 #B379AB #B39E79 #79B381
square
#798EB3 #B379AB #B39E79 #79B381
split-complementary
#798EB3 #B38179 #ABB379
monochromatic
#405271 #566E98 #798EB3 #A0AFC9 #C7D0DF
Accessibility & contrast
On white
3.32
#798EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.33
#798EB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798EB3
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798EB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798EB3 | 1.00 | 3.32 | 6.33 | 6.33 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8290B5
Deuteranopia (green-blind)
#7C8BB2
Tritanopia (blue-blind)
#68969A
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #798eb3; /* rgb */ color: rgb(121, 142, 179); /* oklch */ color: oklch(64.4% 0.061 261.6);
Tailwind
colors: {
custom: {
50: '#a1afc9',
500: '#798eb3',
950: '#000000',
},
}SCSS
$custom: #798eb3; $custom-light: #a1afc9; $custom-dark: #000000;
JSON
{
"hex": "#798eb3",
"rgb": {
"r": 121,
"g": 142,
"b": 179
},
"hsl": {
"h": 218.276,
"s": 27.619,
"l": 58.824
},
"oklch": {
"l": 0.64399,
"c": 0.06079,
"h": 261.6
},
"luminance": 0.26666
}Semantic roles & 50–950 ramp
primary
#798EB3
secondary
#CFC7B8
accent
#A164C4
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82