#797CBD#797CBD
#797CBD is a mid, moderate blue. Relative luminance 0.222; OKLCH L 61.1% C 0.098 H 281.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #797CBD |
|---|---|
| RGB | rgb(121, 124, 189) |
| HSL | hsl(237, 34%, 61%) |
| HSV | hsv(237, 36%, 74%) |
| CMYK | cmyk(36%, 34.4%, 0%, 25.9%) |
| CIE-LAB | lab(54.19, 14.69, -34.44) |
| CIE-LCH | lch(54.19, 37.44, 293.11°) |
| OKLab | oklab(61.06% 0.0188 -0.0963) |
| OKLCH | oklch(61.06% 0.098 281) |
| XYZ | xyz(24.2755, 22.1535, 51.1313) |
| Luminance | 0.2215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 8.04
Mediumpurple
#9370DB
ΔE00 8.92
Cornflower
#6A79F7
ΔE00 9.34
Cornflower Blue
#5170D7
ΔE00 9.43
Lavender Blue
#8B88F8
ΔE00 9.53
Faded Blue
#658CBB
ΔE00 9.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797CBD #BDBA79
analogous
#799EBD #797CBD #9879BD
triadic
#797CBD #BD797C #7CBD79
tetradic
#797CBD #BD799E #BDBA79 #79BD98
square
#797CBD #BD799E #BDBA79 #79BD98
split-complementary
#797CBD #BD9879 #9EBD79
monochromatic
#3E417E #5256A7 #797CBD #A2A4D1 #CBCCE5
Accessibility & contrast
On white
3.87
#797CBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#797CBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797CBD
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797CBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797CBD | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6784C0
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#668894
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #797cbd; /* rgb */ color: rgb(121, 124, 189); /* oklch */ color: oklch(61.1% 0.098 281.0);
Tailwind
colors: {
custom: {
50: '#a2a1d1',
500: '#797cbd',
950: '#000000',
},
}SCSS
$custom: #797cbd; $custom-light: #a2a1d1; $custom-dark: #000000;
JSON
{
"hex": "#797cbd",
"rgb": {
"r": 121,
"g": 124,
"b": 189
},
"hsl": {
"h": 237.353,
"s": 34,
"l": 60.784
},
"oklch": {
"l": 0.61063,
"c": 0.09808,
"h": 281
},
"luminance": 0.22154
}Semantic roles & 50–950 ramp
primary
#797CBD
secondary
#D6D5BC
accent
#A839AD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0F14
muted
#7F7E82