#797FBD#797FBD
#797FBD is a mid, moderate blue. Relative luminance 0.229; OKLCH L 61.7% C 0.094 H 279.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #797FBD |
|---|---|
| RGB | rgb(121, 127, 189) |
| HSL | hsl(235, 34%, 61%) |
| HSV | hsv(235, 36%, 74%) |
| CMYK | cmyk(36%, 32.8%, 0%, 25.9%) |
| CIE-LAB | lab(54.99, 12.91, -33.19) |
| CIE-LCH | lch(54.99, 35.62, 291.25°) |
| OKLab | oklab(61.68% 0.0147 -0.0927) |
| OKLCH | oklch(61.68% 0.094 279) |
| XYZ | xyz(24.6572, 22.9169, 51.2585) |
| Luminance | 0.2292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 7.66
Faded Blue
#658CBB
ΔE00 8.85
Lavender Blue
#8B88F8
ΔE00 9.27
Soft Blue
#6488EA
ΔE00 9.29
Cornflower
#6A79F7
ΔE00 9.35
Cornflower Blue
#5170D7
ΔE00 9.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797FBD #BDB779
analogous
#79A1BD #797FBD #9579BD
triadic
#797FBD #BD797F #7FBD79
tetradic
#797FBD #BD79A1 #BDB779 #79BD95
square
#797FBD #BD79A1 #BDB779 #79BD95
split-complementary
#797FBD #BD9579 #A1BD79
monochromatic
#3E447E #525AA7 #797FBD #A2A6D1 #CBCDE5
Accessibility & contrast
On white
3.76
#797FBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.58
#797FBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #797FBD
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797FBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##797FBD | 1.00 | 3.76 | 5.58 | 5.58 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B86C0
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#668B95
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #797fbd; /* rgb */ color: rgb(121, 127, 189); /* oklch */ color: oklch(61.7% 0.094 279.0);
Tailwind
colors: {
custom: {
50: '#a2a4d1',
500: '#797fbd',
950: '#000000',
},
}SCSS
$custom: #797fbd; $custom-light: #a2a4d1; $custom-dark: #000000;
JSON
{
"hex": "#797fbd",
"rgb": {
"r": 121,
"g": 127,
"b": 189
},
"hsl": {
"h": 234.706,
"s": 34,
"l": 60.784
},
"oklch": {
"l": 0.61677,
"c": 0.09382,
"h": 279
},
"luminance": 0.22918
}Semantic roles & 50–950 ramp
primary
#797FBD
secondary
#D6D4BC
accent
#A339AD
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#0F0F14
muted
#7F7F82