#787CBD#787CBD
#787CBD is a mid, moderate blue. Relative luminance 0.221; OKLCH L 61.0% C 0.098 H 280.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #787CBD |
|---|---|
| RGB | rgb(120, 124, 189) |
| HSL | hsl(237, 34%, 61%) |
| HSV | hsv(237, 37%, 74%) |
| CMYK | cmyk(36.5%, 34.4%, 0%, 25.9%) |
| CIE-LAB | lab(54.11, 14.41, -34.56) |
| CIE-LCH | lch(54.11, 37.45, 292.64°) |
| OKLab | oklab(60.99% 0.0177 -0.0966) |
| OKLCH | oklch(60.99% 0.098 280.4) |
| XYZ | xyz(24.1361, 22.0816, 51.1247) |
| Luminance | 0.2208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 8.09
Mediumpurple
#9370DB
ΔE00 9.07
Cornflower
#6A79F7
ΔE00 9.20
Cornflower Blue
#5170D7
ΔE00 9.20
Faded Blue
#658CBB
ΔE00 9.45
Lavender Blue
#8B88F8
ΔE00 9.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787CBD #BDB978
analogous
#789EBD #787CBD #9678BD
triadic
#787CBD #BD787C #7CBD78
tetradic
#787CBD #BD789E #BDB978 #78BD96
square
#787CBD #BD789E #BDB978 #78BD96
split-complementary
#787CBD #BD9678 #9EBD78
monochromatic
#3D417D #5156A6 #787CBD #A1A4D1 #CACCE5
Accessibility & contrast
On white
3.88
#787CBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#787CBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787CBD
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787CBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787CBD | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6784C0
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#658894
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #787cbd; /* rgb */ color: rgb(120, 124, 189); /* oklch */ color: oklch(61.0% 0.098 280.4);
Tailwind
colors: {
custom: {
50: '#a1a1d1',
500: '#787cbd',
950: '#000000',
},
}SCSS
$custom: #787cbd; $custom-light: #a1a1d1; $custom-dark: #000000;
JSON
{
"hex": "#787cbd",
"rgb": {
"r": 120,
"g": 124,
"b": 189
},
"hsl": {
"h": 236.522,
"s": 34.328,
"l": 60.588
},
"oklch": {
"l": 0.60985,
"c": 0.09824,
"h": 280.4
},
"luminance": 0.22082
}Semantic roles & 50–950 ramp
primary
#787CBD
secondary
#D6D4BB
accent
#A638AD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0F14
muted
#7F7E82