#5781E5#5781E5
#5781E5 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.2% C 0.158 H 265.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5781E5 |
|---|---|
| RGB | rgb(87, 129, 229) |
| HSL | hsl(222, 73%, 62%) |
| HSV | hsv(222, 62%, 90%) |
| CMYK | cmyk(62%, 43.7%, 0%, 10.2%) |
| CIE-LAB | lab(55.46, 16.21, -55.17) |
| CIE-LCH | lch(55.46, 57.51, 286.37°) |
| OKLab | oklab(62.16% -0.0137 -0.1574) |
| OKLCH | oklch(62.16% 0.158 265) |
| XYZ | xyz(25.9187, 23.3816, 77.2608) |
| Luminance | 0.2338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.69
Dodger Blue
#3E82FC
ΔE00 3.09
Lightish Blue
#3D7AFD
ΔE00 3.42
Clear Blue
#247AFD
ΔE00 4.24
Azure
#007FFF
ΔE00 5.02
Faded Blue
#658CBB
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5781E5 #E5BB57
analogous
#57C8E5 #5781E5 #7457E5
triadic
#5781E5 #E55781 #81E557
tetradic
#5781E5 #E557C8 #E5BB57 #57E574
square
#5781E5 #E557C8 #E5BB57 #57E574
split-complementary
#5781E5 #E57457 #C8E557
monochromatic
#1A44A8 #2259DD #5781E5 #8CA9ED #C1D0F5
Accessibility & contrast
On white
3.70
#5781E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#5781E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5781E5
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5781E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5781E5 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528CE9
Deuteranopia (green-blind)
#3C7FE3
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5781e5; /* rgb */ color: rgb(87, 129, 229); /* oklch */ color: oklch(62.2% 0.158 265.0);
Tailwind
colors: {
custom: {
50: '#93a5ee',
500: '#5781e5',
950: '#000000',
},
}SCSS
$custom: #5781e5; $custom-light: #93a5ee; $custom-dark: #000000;
JSON
{
"hex": "#5781e5",
"rgb": {
"r": 87,
"g": 129,
"b": 229
},
"hsl": {
"h": 222.254,
"s": 73.196,
"l": 61.961
},
"oklch": {
"l": 0.62161,
"c": 0.15802,
"h": 265
},
"luminance": 0.23384
}Semantic roles & 50–950 ramp
primary
#5781E5
secondary
#E6D7B2
accent
#9B10D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84