#5781ED#5781ED
#5781ED is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.7% C 0.169 H 265.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5781ED |
|---|---|
| RGB | rgb(87, 129, 237) |
| HSL | hsl(223, 81%, 64%) |
| HSV | hsv(223, 63%, 93%) |
| CMYK | cmyk(63.3%, 45.6%, 0%, 7.1%) |
| CIE-LAB | lab(55.93, 18.91, -58.89) |
| CIE-LCH | lch(55.93, 61.85, 287.80°) |
| OKLab | oklab(62.67% -0.0125 -0.1683) |
| OKLCH | oklch(62.67% 0.169 265.8) |
| XYZ | xyz(27.0615, 23.8387, 83.2796) |
| Luminance | 0.2384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.47
Dodger Blue
#3E82FC
ΔE00 2.81
Lightish Blue
#3D7AFD
ΔE00 3.04
Clear Blue
#247AFD
ΔE00 4.15
Cornflower
#6A79F7
ΔE00 5.05
Azure
#007FFF
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5781ED #EDC357
analogous
#57CCED #5781ED #7857ED
triadic
#5781ED #ED5781 #81ED57
tetradic
#5781ED #ED57CC #EDC357 #57ED78
square
#5781ED #ED57CC #EDC357 #57ED78
split-complementary
#5781ED #ED7857 #CCED57
monochromatic
#1441B6 #2058E7 #5781ED #8EAAF3 #C6D4F9
Accessibility & contrast
On white
3.64
#5781ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#5781ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5781ED
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5781ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5781ED | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C8DF1
Deuteranopia (green-blind)
#3180EB
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5781ed; /* rgb */ color: rgb(87, 129, 237); /* oklch */ color: oklch(62.7% 0.169 265.8);
Tailwind
colors: {
custom: {
50: '#94a5f3',
500: '#5781ed',
950: '#000000',
},
}SCSS
$custom: #5781ed; $custom-light: #94a5f3; $custom-dark: #000000;
JSON
{
"hex": "#5781ed",
"rgb": {
"r": 87,
"g": 129,
"b": 237
},
"hsl": {
"h": 223.2,
"s": 80.645,
"l": 63.529
},
"oklch": {
"l": 0.62666,
"c": 0.16881,
"h": 265.8
},
"luminance": 0.23841
}Semantic roles & 50–950 ramp
primary
#5781ED
secondary
#EADCB5
accent
#A109DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85