#798EB4#798EB4
#798EB4 is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.4% C 0.062 H 262.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #798EB4 |
|---|---|
| RGB | rgb(121, 142, 180) |
| HSL | hsl(219, 28%, 59%) |
| HSV | hsv(219, 33%, 71%) |
| CMYK | cmyk(32.8%, 21.1%, 0%, 29.4%) |
| CIE-LAB | lab(58.70, 1.73, -22.32) |
| CIE-LCH | lch(58.70, 22.39, 274.43°) |
| OKLab | oklab(64.44% -0.0085 -0.0616) |
| OKLCH | oklch(64.44% 0.062 262.1) |
| XYZ | xyz(25.7940, 26.7052, 46.9667) |
| Luminance | 0.2671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.95
Blue Grey
#758DA3
ΔE00 6.19
Dusty Blue
#5A86AD
ΔE00 7.43
Lightslategray
#778899
ΔE00 7.56
Off Blue
#5684AE
ΔE00 7.93
Soft Blue
#6488EA
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798EB4 #B49F79
analogous
#79ACB4 #798EB4 #8279B4
triadic
#798EB4 #B4798E #8EB479
tetradic
#798EB4 #B479AC #B49F79 #79B482
square
#798EB4 #B479AC #B49F79 #79B482
split-complementary
#798EB4 #B48279 #ACB479
monochromatic
#405273 #566E9A #798EB4 #A0AFCA #C7D0E0
Accessibility & contrast
On white
3.31
#798EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#798EB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798EB4
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798EB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798EB4 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8190B6
Deuteranopia (green-blind)
#7B8BB3
Tritanopia (blue-blind)
#68969B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #798eb4; /* rgb */ color: rgb(121, 142, 180); /* oklch */ color: oklch(64.4% 0.062 262.1);
Tailwind
colors: {
custom: {
50: '#a1afca',
500: '#798eb4',
950: '#000000',
},
}SCSS
$custom: #798eb4; $custom-light: #a1afca; $custom-dark: #000000;
JSON
{
"hex": "#798eb4",
"rgb": {
"r": 121,
"g": 142,
"b": 180
},
"hsl": {
"h": 218.644,
"s": 28.23,
"l": 59.02
},
"oklch": {
"l": 0.64441,
"c": 0.06217,
"h": 262.1
},
"luminance": 0.26706
}Semantic roles & 50–950 ramp
primary
#798EB4
secondary
#D0C8B9
accent
#A263C5
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82