#798DB5#798DB5
#798DB5 is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.3% C 0.065 H 264.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #798DB5 |
|---|---|
| RGB | rgb(121, 141, 181) |
| HSL | hsl(220, 29%, 59%) |
| HSV | hsv(220, 33%, 71%) |
| CMYK | cmyk(33.1%, 22.1%, 0%, 29%) |
| CIE-LAB | lab(58.46, 2.57, -23.26) |
| CIE-LCH | lch(58.46, 23.40, 276.30°) |
| OKLab | oklab(64.27% -0.0068 -0.0642) |
| OKLCH | oklch(64.27% 0.065 264) |
| XYZ | xyz(25.7481, 26.4499, 47.4558) |
| Luminance | 0.2645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.19
Blue Grey
#758DA3
ΔE00 6.79
Dusty Blue
#5A86AD
ΔE00 7.71
Soft Blue
#6488EA
ΔE00 7.99
Lightslategray
#778899
ΔE00 8.08
Off Blue
#5684AE
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798DB5 #B5A179
analogous
#79ABB5 #798DB5 #8379B5
triadic
#798DB5 #B5798D #8DB579
tetradic
#798DB5 #B579AB #B5A179 #79B583
square
#798DB5 #B579AB #B5A179 #79B583
split-complementary
#798DB5 #B58379 #ABB579
monochromatic
#405174 #566D9B #798DB5 #A0AFCB #C8D0E1
Accessibility & contrast
On white
3.34
#798DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#798DB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798DB5
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798DB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798DB5 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8090B7
Deuteranopia (green-blind)
#7A8AB4
Tritanopia (blue-blind)
#67959B
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #798db5; /* rgb */ color: rgb(121, 141, 181); /* oklch */ color: oklch(64.3% 0.065 264.0);
Tailwind
colors: {
custom: {
50: '#a1aecb',
500: '#798db5',
950: '#000000',
},
}SCSS
$custom: #798db5; $custom-light: #a1aecb; $custom-dark: #000000;
JSON
{
"hex": "#798db5",
"rgb": {
"r": 121,
"g": 141,
"b": 181
},
"hsl": {
"h": 220,
"s": 28.846,
"l": 59.216
},
"oklch": {
"l": 0.64267,
"c": 0.06459,
"h": 264
},
"luminance": 0.26451
}Semantic roles & 50–950 ramp
primary
#798DB5
secondary
#D1C9B9
accent
#A463C5
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82