#798CB7#798CB7
#798CB7 is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.1% C 0.068 H 266.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #798CB7 |
|---|---|
| RGB | rgb(121, 140, 183) |
| HSL | hsl(222, 30%, 60%) |
| HSV | hsv(222, 34%, 72%) |
| CMYK | cmyk(33.9%, 23.5%, 0%, 28.2%) |
| CIE-LAB | lab(58.26, 3.67, -24.70) |
| CIE-LCH | lch(58.26, 24.97, 278.46°) |
| OKLab | oklab(64.14% -0.0048 -0.0683) |
| OKLCH | oklch(64.14% 0.068 266) |
| XYZ | xyz(25.8080, 26.2390, 48.4954) |
| Luminance | 0.2624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.46
Blue Grey
#758DA3
ΔE00 7.49
Soft Blue
#6488EA
ΔE00 7.91
Perrywinkle
#8F8CE7
ΔE00 7.98
Dusty Blue
#5A86AD
ΔE00 8.05
Off Blue
#5684AE
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798CB7 #B7A479
analogous
#79ABB7 #798CB7 #8579B7
triadic
#798CB7 #B7798C #8CB779
tetradic
#798CB7 #B779AB #B7A479 #79B785
square
#798CB7 #B779AB #B7A479 #79B785
split-complementary
#798CB7 #B78579 #ABB779
monochromatic
#3F5076 #556B9E #798CB7 #A1AECC #C9D0E2
Accessibility & contrast
On white
3.36
#798CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#798CB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798CB7
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798CB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798CB7 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8FB9
Deuteranopia (green-blind)
#788AB6
Tritanopia (blue-blind)
#67959B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #798cb7; /* rgb */ color: rgb(121, 140, 183); /* oklch */ color: oklch(64.1% 0.068 266.0);
Tailwind
colors: {
custom: {
50: '#a1adcc',
500: '#798cb7',
950: '#000000',
},
}SCSS
$custom: #798cb7; $custom-light: #a1adcc; $custom-dark: #000000;
JSON
{
"hex": "#798cb7",
"rgb": {
"r": 121,
"g": 140,
"b": 183
},
"hsl": {
"h": 221.613,
"s": 30.097,
"l": 59.608
},
"oklch": {
"l": 0.64137,
"c": 0.06849,
"h": 266
},
"luminance": 0.2624
}Semantic roles & 50–950 ramp
primary
#798CB7
secondary
#D2CBBA
accent
#A761C6
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F1013
muted
#7F7F82