#5787CE#5787CE
#5787CE is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.1% C 0.120 H 258.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5787CE |
|---|---|
| RGB | rgb(87, 135, 206) |
| HSL | hsl(216, 55%, 57%) |
| HSV | hsv(216, 58%, 81%) |
| CMYK | cmyk(57.8%, 34.5%, 0%, 19.2%) |
| CIE-LAB | lab(55.90, 4.95, -41.57) |
| CIE-LCH | lch(55.90, 41.86, 276.79°) |
| OKLab | oklab(62.1% -0.0249 -0.1175) |
| OKLCH | oklch(62.1% 0.12 258) |
| XYZ | xyz(23.7311, 23.8084, 61.7255) |
| Luminance | 0.2381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.13
Dark Sky Blue
#448EE4
ΔE00 4.02
Soft Blue
#6488EA
ΔE00 4.34
Cool Blue
#4984B8
ΔE00 4.45
Off Blue
#5684AE
ΔE00 4.46
Dodger Blue
#3E82FC
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5787CE #CE9E57
analogous
#57C3CE #5787CE #6257CE
triadic
#5787CE #CE5787 #87CE57
tetradic
#5787CE #CE57C3 #CE9E57 #57CE62
square
#5787CE #CE57C3 #CE9E57 #57CE62
split-complementary
#5787CE #CE6257 #C3CE57
monochromatic
#274C84 #3468B3 #5787CE #86A9DC #B6CBEA
Accessibility & contrast
On white
3.64
#5787CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#5787CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5787CE
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5787CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5787CE | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A8CD1
Deuteranopia (green-blind)
#5A81CD
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5787ce; /* rgb */ color: rgb(87, 135, 206); /* oklch */ color: oklch(62.1% 0.120 258.0);
Tailwind
colors: {
custom: {
50: '#8fa9dd',
500: '#5787ce',
950: '#000000',
},
}SCSS
$custom: #5787ce; $custom-light: #8fa9dd; $custom-dark: #000000;
JSON
{
"hex": "#5787ce",
"rgb": {
"r": 87,
"g": 135,
"b": 206
},
"hsl": {
"h": 215.798,
"s": 54.839,
"l": 57.451
},
"oklch": {
"l": 0.621,
"c": 0.12014,
"h": 258
},
"luminance": 0.2381
}Semantic roles & 50–950 ramp
primary
#5787CE
secondary
#D8C5A8
accent
#A24ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83