#798FBA#798FBA
#798FBA is a light, moderate blue. Relative luminance 0.273; OKLCH L 64.9% C 0.069 H 263.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #798FBA |
|---|---|
| RGB | rgb(121, 143, 186) |
| HSL | hsl(220, 32%, 60%) |
| HSV | hsv(220, 35%, 73%) |
| CMYK | cmyk(34.9%, 23.1%, 0%, 27.1%) |
| CIE-LAB | lab(59.21, 2.75, -24.94) |
| CIE-LCH | lch(59.21, 25.09, 276.28°) |
| OKLab | oklab(64.92% -0.0079 -0.069) |
| OKLCH | oklch(64.92% 0.069 263.5) |
| XYZ | xyz(26.5679, 27.2539, 50.3055) |
| Luminance | 0.2726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.79
Blue Grey
#758DA3
ΔE00 7.09
Soft Blue
#6488EA
ΔE00 7.24
Dusty Blue
#5A86AD
ΔE00 7.69
Perrywinkle
#8F8CE7
ΔE00 7.79
Cornflowerblue
#6495ED
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798FBA #BAA479
analogous
#79B0BA #798FBA #8379BA
triadic
#798FBA #BA798F #8FBA79
tetradic
#798FBA #BA79B0 #BAA479 #79BA83
square
#798FBA #BA79B0 #BAA479 #79BA83
split-complementary
#798FBA #BA8379 #B0BA79
monochromatic
#3F537A #546EA2 #798FBA #A1B1CF #CAD3E4
Accessibility & contrast
On white
3.26
#798FBA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#798FBA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798FBA
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798FBA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798FBA | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8092BC
Deuteranopia (green-blind)
#7A8CB9
Tritanopia (blue-blind)
#65989E
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #798fba; /* rgb */ color: rgb(121, 143, 186); /* oklch */ color: oklch(64.9% 0.069 263.5);
Tailwind
colors: {
custom: {
50: '#a1afcf',
500: '#798fba',
950: '#000000',
},
}SCSS
$custom: #798fba; $custom-light: #a1afcf; $custom-dark: #000000;
JSON
{
"hex": "#798fba",
"rgb": {
"r": 121,
"g": 143,
"b": 186
},
"hsl": {
"h": 219.692,
"s": 32.02,
"l": 60.196
},
"oklch": {
"l": 0.64915,
"c": 0.06948,
"h": 263.5
},
"luminance": 0.27255
}Semantic roles & 50–950 ramp
primary
#798FBA
secondary
#D4CBBB
accent
#853BAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1013
muted
#7F7F82