#798CB5#798CB5
#798CB5 is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.0% C 0.066 H 265.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #798CB5 |
|---|---|
| RGB | rgb(121, 140, 181) |
| HSL | hsl(221, 29%, 59%) |
| HSV | hsv(221, 33%, 71%) |
| CMYK | cmyk(33.1%, 22.7%, 0%, 29%) |
| CIE-LAB | lab(58.19, 3.14, -23.68) |
| CIE-LCH | lch(58.19, 23.89, 277.56°) |
| OKLab | oklab(64.05% -0.0054 -0.0654) |
| OKLCH | oklch(64.05% 0.066 265.3) |
| XYZ | xyz(25.6013, 26.1563, 47.4069) |
| Luminance | 0.2616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.45
Blue Grey
#758DA3
ΔE00 7.16
Dusty Blue
#5A86AD
ΔE00 7.93
Soft Blue
#6488EA
ΔE00 8.14
Perrywinkle
#8F8CE7
ΔE00 8.19
Off Blue
#5684AE
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798CB5 #B5A279
analogous
#79AAB5 #798CB5 #8479B5
triadic
#798CB5 #B5798C #8CB579
tetradic
#798CB5 #B579AA #B5A279 #79B584
square
#798CB5 #B579AA #B5A279 #79B584
split-complementary
#798CB5 #B58479 #AAB579
monochromatic
#405074 #566C9B #798CB5 #A0AECB #C8D0E1
Accessibility & contrast
On white
3.37
#798CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#798CB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798CB5
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798CB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798CB5 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F8FB7
Deuteranopia (green-blind)
#7989B4
Tritanopia (blue-blind)
#68949A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #798cb5; /* rgb */ color: rgb(121, 140, 181); /* oklch */ color: oklch(64.0% 0.066 265.3);
Tailwind
colors: {
custom: {
50: '#a1adcb',
500: '#798cb5',
950: '#000000',
},
}SCSS
$custom: #798cb5; $custom-light: #a1adcb; $custom-dark: #000000;
JSON
{
"hex": "#798cb5",
"rgb": {
"r": 121,
"g": 140,
"b": 181
},
"hsl": {
"h": 221,
"s": 28.846,
"l": 59.216
},
"oklch": {
"l": 0.6405,
"c": 0.06565,
"h": 265.3
},
"luminance": 0.26157
}Semantic roles & 50–950 ramp
primary
#798CB5
secondary
#D1C9B9
accent
#A663C5
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82