#798CBB#798CBB
#798CBB is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.3% C 0.074 H 267.3°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #798CBB |
|---|---|
| RGB | rgb(121, 140, 187) |
| HSL | hsl(223, 33%, 60%) |
| HSV | hsv(223, 35%, 73%) |
| CMYK | cmyk(35.3%, 25.1%, 0%, 26.7%) |
| CIE-LAB | lab(58.42, 4.74, -26.72) |
| CIE-LCH | lch(58.42, 27.14, 280.07°) |
| OKLab | oklab(64.31% -0.0035 -0.0741) |
| OKLCH | oklch(64.31% 0.074 267.3) |
| XYZ | xyz(26.2302, 26.4079, 50.7192) |
| Luminance | 0.2641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.48
Soft Blue
#6488EA
ΔE00 7.46
Perrywinkle
#8F8CE7
ΔE00 7.55
Blue Grey
#758DA3
ΔE00 8.01
Dusty Blue
#5A86AD
ΔE00 8.24
Off Blue
#5684AE
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798CBB #BBA879
analogous
#79ADBB #798CBB #8779BB
triadic
#798CBB #BB798C #8CBB79
tetradic
#798CBB #BB79AD #BBA879 #79BB87
square
#798CBB #BB79AD #BBA879 #79BB87
split-complementary
#798CBB #BB8779 #ADBB79
monochromatic
#3E507B #536AA4 #798CBB #A2AFD0 #CAD2E4
Accessibility & contrast
On white
3.34
#798CBB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#798CBB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798CBB
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798CBB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798CBB | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D90BD
Deuteranopia (green-blind)
#768ABA
Tritanopia (blue-blind)
#65959C
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #798cbb; /* rgb */ color: rgb(121, 140, 187); /* oklch */ color: oklch(64.3% 0.074 267.3);
Tailwind
colors: {
custom: {
50: '#a1adcf',
500: '#798cbb',
950: '#000000',
},
}SCSS
$custom: #798cbb; $custom-light: #a1adcf; $custom-dark: #000000;
JSON
{
"hex": "#798cbb",
"rgb": {
"r": 121,
"g": 140,
"b": 187
},
"hsl": {
"h": 222.727,
"s": 32.673,
"l": 60.392
},
"oklch": {
"l": 0.64314,
"c": 0.07418,
"h": 267.3
},
"luminance": 0.26409
}Semantic roles & 50–950 ramp
primary
#798CBB
secondary
#D5CDBB
accent
#8B3AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F1014
muted
#7F7F82