#798CB8#798CB8
#798CB8 is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.2% C 0.070 H 266.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #798CB8 |
|---|---|
| RGB | rgb(121, 140, 184) |
| HSL | hsl(222, 31%, 60%) |
| HSV | hsv(222, 34%, 72%) |
| CMYK | cmyk(34.2%, 23.9%, 0%, 27.8%) |
| CIE-LAB | lab(58.30, 3.94, -25.20) |
| CIE-LCH | lch(58.30, 25.51, 278.89°) |
| OKLab | oklab(64.18% -0.0044 -0.0698) |
| OKLCH | oklch(64.18% 0.07 266.4) |
| XYZ | xyz(25.9124, 26.2807, 49.0455) |
| Luminance | 0.2628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.46
Blue Grey
#758DA3
ΔE00 7.64
Soft Blue
#6488EA
ΔE00 7.80
Perrywinkle
#8F8CE7
ΔE00 7.87
Dusty Blue
#5A86AD
ΔE00 8.10
Off Blue
#5684AE
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#798CB8 #B8A579
analogous
#79ACB8 #798CB8 #8679B8
triadic
#798CB8 #B8798C #8CB879
tetradic
#798CB8 #B879AC #B8A579 #79B886
square
#798CB8 #B879AC #B8A579 #79B886
split-complementary
#798CB8 #B88679 #ACB879
monochromatic
#3F5077 #546B9F #798CB8 #A1AECD #C9D1E2
Accessibility & contrast
On white
3.36
#798CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#798CB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #798CB8
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##798CB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##798CB8 | 1.00 | 3.36 | 6.26 | 6.26 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8FBA
Deuteranopia (green-blind)
#788AB7
Tritanopia (blue-blind)
#66959B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #798cb8; /* rgb */ color: rgb(121, 140, 184); /* oklch */ color: oklch(64.2% 0.070 266.4);
Tailwind
colors: {
custom: {
50: '#a1adcd',
500: '#798cb8',
950: '#000000',
},
}SCSS
$custom: #798cb8; $custom-light: #a1adcd; $custom-dark: #000000;
JSON
{
"hex": "#798cb8",
"rgb": {
"r": 121,
"g": 140,
"b": 184
},
"hsl": {
"h": 221.905,
"s": 30.732,
"l": 59.804
},
"oklch": {
"l": 0.64181,
"c": 0.06991,
"h": 266.4
},
"luminance": 0.26282
}Semantic roles & 50–950 ramp
primary
#798CB8
secondary
#D3CBBA
accent
#A861C7
background
#FAFAFC
surface
#F3F4F9
border
#CDCED2
text
#0F1013
muted
#7F7F82