#798EB7#798EB7
#798EB7 is a light, moderate blue. Relative luminance 0.268; OKLCH L 64.6% C 0.066 H 263.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #798EB7 |
|---|---|
| RGB | rgb(121, 142, 183) |
| HSL | hsl(220, 30%, 60%) |
| HSV | hsv(220, 34%, 72%) |
| CMYK | cmyk(33.9%, 22.4%, 0%, 28.2%) |
| CIE-LAB | lab(58.82, 2.52, -23.85) |
| CIE-LCH | lch(58.82, 23.98, 276.04°) |
| OKLab | oklab(64.57% -0.0075 -0.0659) |
| OKLCH | oklch(64.57% 0.066 263.5) |
| XYZ | xyz(26.1029, 26.8288, 48.5937) |
| Luminance | 0.2683 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.96
Blue Grey
#758DA3
ΔE00 6.84
Soft Blue
#6488EA
ΔE00 7.64
Dusty Blue
#5A86AD
ΔE00 7.65
Perrywinkle
#8F8CE7
ΔE00 8.01
Off Blue
#5684AE
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798EB7 #B7A279
analogous
#79ADB7 #798EB7 #8379B7
triadic
#798EB7 #B7798E #8EB779
tetradic
#798EB7 #B779AD #B7A279 #79B783
square
#798EB7 #B779AD #B7A279 #79B783
split-complementary
#798EB7 #B78379 #ADB779
monochromatic
#3F5276 #556E9E #798EB7 #A1B0CC #C9D1E2
Accessibility & contrast
On white
3.30
#798EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#798EB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798EB7
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798EB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798EB7 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8091B9
Deuteranopia (green-blind)
#7A8BB6
Tritanopia (blue-blind)
#67969C
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #798eb7; /* rgb */ color: rgb(121, 142, 183); /* oklch */ color: oklch(64.6% 0.066 263.5);
Tailwind
colors: {
custom: {
50: '#a1aecc',
500: '#798eb7',
950: '#000000',
},
}SCSS
$custom: #798eb7; $custom-light: #a1aecc; $custom-dark: #000000;
JSON
{
"hex": "#798eb7",
"rgb": {
"r": 121,
"g": 142,
"b": 183
},
"hsl": {
"h": 219.677,
"s": 30.097,
"l": 59.608
},
"oklch": {
"l": 0.64569,
"c": 0.06635,
"h": 263.5
},
"luminance": 0.2683
}Semantic roles & 50–950 ramp
primary
#798EB7
secondary
#D2CABA
accent
#A461C6
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82