#798BB7#798BB7
#798BB7 is a light, moderate blue. Relative luminance 0.259; OKLCH L 63.9% C 0.070 H 267.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #798BB7 |
|---|---|
| RGB | rgb(121, 139, 183) |
| HSL | hsl(223, 30%, 60%) |
| HSV | hsv(223, 34%, 72%) |
| CMYK | cmyk(33.9%, 24%, 0%, 28.2%) |
| CIE-LAB | lab(57.99, 4.25, -25.12) |
| CIE-LCH | lch(57.99, 25.48, 279.61°) |
| OKLab | oklab(63.92% -0.0034 -0.0695) |
| OKLCH | oklch(63.92% 0.07 267.2) |
| XYZ | xyz(25.6625, 25.9481, 48.4469) |
| Luminance | 0.2595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.73
Blue Grey
#758DA3
ΔE00 7.81
Perrywinkle
#8F8CE7
ΔE00 7.97
Soft Blue
#6488EA
ΔE00 8.06
Dusty Blue
#5A86AD
ΔE00 8.26
Off Blue
#5684AE
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798BB7 #B7A579
analogous
#79AAB7 #798BB7 #8679B7
triadic
#798BB7 #B7798B #8BB779
tetradic
#798BB7 #B779AA #B7A579 #79B786
square
#798BB7 #B779AA #B7A579 #79B786
split-complementary
#798BB7 #B78679 #AAB779
monochromatic
#3F4F76 #556A9E #798BB7 #A1ADCC #C9D0E2
Accessibility & contrast
On white
3.39
#798BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#798BB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798BB7
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798BB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798BB7 | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D8EB9
Deuteranopia (green-blind)
#7789B6
Tritanopia (blue-blind)
#67949A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #798bb7; /* rgb */ color: rgb(121, 139, 183); /* oklch */ color: oklch(63.9% 0.070 267.2);
Tailwind
colors: {
custom: {
50: '#a1accc',
500: '#798bb7',
950: '#000000',
},
}SCSS
$custom: #798bb7; $custom-light: #a1accc; $custom-dark: #000000;
JSON
{
"hex": "#798bb7",
"rgb": {
"r": 121,
"g": 139,
"b": 183
},
"hsl": {
"h": 222.581,
"s": 30.097,
"l": 59.608
},
"oklch": {
"l": 0.63922,
"c": 0.06961,
"h": 267.2
},
"luminance": 0.25949
}Semantic roles & 50–950 ramp
primary
#798BB7
secondary
#D2CBBA
accent
#A961C6
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F1013
muted
#7F7F82