#787FBD#787FBD
#787FBD is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.6% C 0.094 H 278.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #787FBD |
|---|---|
| RGB | rgb(120, 127, 189) |
| HSL | hsl(234, 34%, 61%) |
| HSV | hsv(234, 37%, 74%) |
| CMYK | cmyk(36.5%, 32.8%, 0%, 25.9%) |
| CIE-LAB | lab(54.91, 12.63, -33.31) |
| CIE-LCH | lch(54.91, 35.63, 290.76°) |
| OKLab | oklab(61.6% 0.0136 -0.093) |
| OKLCH | oklch(61.6% 0.094 278.3) |
| XYZ | xyz(24.5178, 22.8450, 51.2520) |
| Luminance | 0.2285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 7.71
Faded Blue
#658CBB
ΔE00 8.62
Soft Blue
#6488EA
ΔE00 9.08
Cornflower
#6A79F7
ΔE00 9.20
Lavender Blue
#8B88F8
ΔE00 9.27
Cornflower Blue
#5170D7
ΔE00 9.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787FBD #BDB678
analogous
#78A1BD #787FBD #9378BD
triadic
#787FBD #BD787F #7FBD78
tetradic
#787FBD #BD78A1 #BDB678 #78BD93
square
#787FBD #BD78A1 #BDB678 #78BD93
split-complementary
#787FBD #BD9378 #A1BD78
monochromatic
#3D447D #515AA6 #787FBD #A1A6D1 #CACDE5
Accessibility & contrast
On white
3.77
#787FBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#787FBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787FBD
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787FBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787FBD | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B86C0
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#648B95
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #787fbd; /* rgb */ color: rgb(120, 127, 189); /* oklch */ color: oklch(61.6% 0.094 278.3);
Tailwind
colors: {
custom: {
50: '#a1a4d1',
500: '#787fbd',
950: '#000000',
},
}SCSS
$custom: #787fbd; $custom-light: #a1a4d1; $custom-dark: #000000;
JSON
{
"hex": "#787fbd",
"rgb": {
"r": 120,
"g": 127,
"b": 189
},
"hsl": {
"h": 233.913,
"s": 34.328,
"l": 60.588
},
"oklch": {
"l": 0.61601,
"c": 0.09402,
"h": 278.3
},
"luminance": 0.22846
}Semantic roles & 50–950 ramp
primary
#787FBD
secondary
#D6D3BB
accent
#A138AD
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#0F0F14
muted
#7F7F82