#798CB4#798CB4
#798CB4 is a light, moderate blue. Relative luminance 0.261; OKLCH L 64.0% C 0.064 H 264.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #798CB4 |
|---|---|
| RGB | rgb(121, 140, 180) |
| HSL | hsl(221, 28%, 59%) |
| HSV | hsv(221, 33%, 71%) |
| CMYK | cmyk(32.8%, 22.2%, 0%, 29.4%) |
| CIE-LAB | lab(58.15, 2.88, -23.17) |
| CIE-LCH | lch(58.15, 23.35, 277.09°) |
| OKLab | oklab(64.01% -0.0058 -0.064) |
| OKLCH | oklch(64.01% 0.064 264.9) |
| XYZ | xyz(25.4991, 26.1154, 46.8684) |
| Luminance | 0.2612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.45
Blue Grey
#758DA3
ΔE00 6.97
Dusty Blue
#5A86AD
ΔE00 7.87
Lightslategray
#778899
ΔE00 8.13
Soft Blue
#6488EA
ΔE00 8.25
Off Blue
#5684AE
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798CB4 #B4A179
analogous
#79AAB4 #798CB4 #8479B4
triadic
#798CB4 #B4798C #8CB479
tetradic
#798CB4 #B479AA #B4A179 #79B484
square
#798CB4 #B479AA #B4A179 #79B484
split-complementary
#798CB4 #B48479 #AAB479
monochromatic
#405073 #566C9A #798CB4 #A0AECA #C7CFE0
Accessibility & contrast
On white
3.37
#798CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#798CB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798CB4
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798CB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798CB4 | 1.00 | 3.37 | 6.22 | 6.22 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F8FB6
Deuteranopia (green-blind)
#7989B3
Tritanopia (blue-blind)
#68949A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #798cb4; /* rgb */ color: rgb(121, 140, 180); /* oklch */ color: oklch(64.0% 0.064 264.9);
Tailwind
colors: {
custom: {
50: '#a1adca',
500: '#798cb4',
950: '#000000',
},
}SCSS
$custom: #798cb4; $custom-light: #a1adca; $custom-dark: #000000;
JSON
{
"hex": "#798cb4",
"rgb": {
"r": 121,
"g": 140,
"b": 180
},
"hsl": {
"h": 220.678,
"s": 28.23,
"l": 59.02
},
"oklch": {
"l": 0.64007,
"c": 0.06425,
"h": 264.9
},
"luminance": 0.26116
}Semantic roles & 50–950 ramp
primary
#798CB4
secondary
#D0C9B9
accent
#A563C5
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82