#5781CE#5781CE
#5781CE is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.8% C 0.127 H 261.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5781CE |
|---|---|
| RGB | rgb(87, 129, 206) |
| HSL | hsl(219, 55%, 57%) |
| HSV | hsv(219, 58%, 81%) |
| CMYK | cmyk(57.8%, 37.4%, 0%, 19.2%) |
| CIE-LAB | lab(54.22, 8.54, -44.22) |
| CIE-LCH | lch(54.22, 45.03, 280.93°) |
| OKLab | oklab(60.8% -0.0183 -0.1253) |
| OKLCH | oklch(60.8% 0.127 261.7) |
| XYZ | xyz(22.9175, 22.1811, 61.4542) |
| Luminance | 0.2218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.41
Soft Blue
#6488EA
ΔE00 4.46
Dodger Blue
#3E82FC
ΔE00 4.75
Off Blue
#5684AE
ΔE00 4.83
Dusty Blue
#5A86AD
ΔE00 5.15
Lightish Blue
#3D7AFD
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5781CE #CEA457
analogous
#57BCCE #5781CE #6957CE
triadic
#5781CE #CE5781 #81CE57
tetradic
#5781CE #CE57BC #CEA457 #57CE69
square
#5781CE #CE57BC #CEA457 #57CE69
split-complementary
#5781CE #CE6957 #BCCE57
monochromatic
#274884 #3461B3 #5781CE #86A5DC #B6C8EA
Accessibility & contrast
On white
3.86
#5781CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#5781CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5781CE
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5781CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5781CE | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6188D1
Deuteranopia (green-blind)
#517DCC
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5781ce; /* rgb */ color: rgb(87, 129, 206); /* oklch */ color: oklch(60.8% 0.127 261.7);
Tailwind
colors: {
custom: {
50: '#8fa5dd',
500: '#5781ce',
950: '#000000',
},
}SCSS
$custom: #5781ce; $custom-light: #8fa5dd; $custom-dark: #000000;
JSON
{
"hex": "#5781ce",
"rgb": {
"r": 87,
"g": 129,
"b": 206
},
"hsl": {
"h": 218.824,
"s": 54.839,
"l": 57.451
},
"oklch": {
"l": 0.60796,
"c": 0.12664,
"h": 261.7
},
"luminance": 0.22183
}Semantic roles & 50–950 ramp
primary
#5781CE
secondary
#D8C7A8
accent
#AA4ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83