#798FB4#798FB4
#798FB4 is a light, moderate blue. Relative luminance 0.270; OKLCH L 64.7% C 0.061 H 260.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #798FB4 |
|---|---|
| RGB | rgb(121, 143, 180) |
| HSL | hsl(218, 28%, 59%) |
| HSV | hsv(218, 33%, 71%) |
| CMYK | cmyk(32.8%, 20.6%, 0%, 29.4%) |
| CIE-LAB | lab(58.98, 1.16, -21.90) |
| CIE-LCH | lch(58.98, 21.93, 273.03°) |
| OKLab | oklab(64.66% -0.0099 -0.0604) |
| OKLCH | oklch(64.66% 0.061 260.7) |
| XYZ | xyz(25.9434, 27.0041, 47.0165) |
| Luminance | 0.2701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.75
Blue Grey
#758DA3
ΔE00 5.80
Dusty Blue
#5A86AD
ΔE00 7.23
Lightslategray
#778899
ΔE00 7.30
Off Blue
#5684AE
ΔE00 7.79
Soft Blue
#6488EA
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798FB4 #B49E79
analogous
#79ADB4 #798FB4 #8179B4
triadic
#798FB4 #B4798F #8FB479
tetradic
#798FB4 #B479AD #B49E79 #79B481
square
#798FB4 #B479AD #B49E79 #79B481
split-complementary
#798FB4 #B48179 #ADB479
monochromatic
#405373 #566F9A #798FB4 #A0B0CA #C7D1E0
Accessibility & contrast
On white
3.28
#798FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#798FB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798FB4
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798FB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798FB4 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8291B6
Deuteranopia (green-blind)
#7C8BB3
Tritanopia (blue-blind)
#68979B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #798fb4; /* rgb */ color: rgb(121, 143, 180); /* oklch */ color: oklch(64.7% 0.061 260.7);
Tailwind
colors: {
custom: {
50: '#a1afca',
500: '#798fb4',
950: '#000000',
},
}SCSS
$custom: #798fb4; $custom-light: #a1afca; $custom-dark: #000000;
JSON
{
"hex": "#798fb4",
"rgb": {
"r": 121,
"g": 143,
"b": 180
},
"hsl": {
"h": 217.627,
"s": 28.23,
"l": 59.02
},
"oklch": {
"l": 0.64658,
"c": 0.06119,
"h": 260.7
},
"luminance": 0.27005
}Semantic roles & 50–950 ramp
primary
#798FB4
secondary
#D0C7B9
accent
#A063C5
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82