#798FB7#798FB7
#798FB7 is a light, moderate blue. Relative luminance 0.271; OKLCH L 64.8% C 0.065 H 262.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #798FB7 |
|---|---|
| RGB | rgb(121, 143, 183) |
| HSL | hsl(219, 30%, 60%) |
| HSV | hsv(219, 34%, 72%) |
| CMYK | cmyk(33.9%, 21.9%, 0%, 28.2%) |
| CIE-LAB | lab(59.09, 1.95, -23.42) |
| CIE-LCH | lch(59.09, 23.50, 274.75°) |
| OKLab | oklab(64.79% -0.0089 -0.0647) |
| OKLCH | oklch(64.79% 0.065 262.2) |
| XYZ | xyz(26.2523, 27.1277, 48.6435) |
| Luminance | 0.2713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.75
Blue Grey
#758DA3
ΔE00 6.50
Dusty Blue
#5A86AD
ΔE00 7.47
Soft Blue
#6488EA
ΔE00 7.53
Off Blue
#5684AE
ΔE00 7.97
Lightslategray
#778899
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798FB7 #B7A179
analogous
#79AEB7 #798FB7 #8279B7
triadic
#798FB7 #B7798F #8FB779
tetradic
#798FB7 #B779AE #B7A179 #79B782
square
#798FB7 #B779AE #B7A179 #79B782
split-complementary
#798FB7 #B78279 #AEB779
monochromatic
#3F5376 #556F9E #798FB7 #A1B0CC #C9D2E2
Accessibility & contrast
On white
3.27
#798FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#798FB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798FB7
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798FB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798FB7 | 1.00 | 3.27 | 6.43 | 6.43 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8191B9
Deuteranopia (green-blind)
#7B8CB6
Tritanopia (blue-blind)
#67979C
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #798fb7; /* rgb */ color: rgb(121, 143, 183); /* oklch */ color: oklch(64.8% 0.065 262.2);
Tailwind
colors: {
custom: {
50: '#a1afcc',
500: '#798fb7',
950: '#000000',
},
}SCSS
$custom: #798fb7; $custom-light: #a1afcc; $custom-dark: #000000;
JSON
{
"hex": "#798fb7",
"rgb": {
"r": 121,
"g": 143,
"b": 183
},
"hsl": {
"h": 218.71,
"s": 30.097,
"l": 59.608
},
"oklch": {
"l": 0.64785,
"c": 0.06531,
"h": 262.2
},
"luminance": 0.27129
}Semantic roles & 50–950 ramp
primary
#798FB7
secondary
#D2C9BA
accent
#A361C6
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82