#5781E8#5781E8
#5781E8 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.3% C 0.162 H 265.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5781E8 |
|---|---|
| RGB | rgb(87, 129, 232) |
| HSL | hsl(223, 76%, 63%) |
| HSV | hsv(223, 63%, 91%) |
| CMYK | cmyk(62.5%, 44.4%, 0%, 9%) |
| CIE-LAB | lab(55.63, 17.22, -56.57) |
| CIE-LCH | lch(55.63, 59.14, 286.93°) |
| OKLab | oklab(62.35% -0.0132 -0.1615) |
| OKLCH | oklch(62.35% 0.162 265.3) |
| XYZ | xyz(26.3412, 23.5506, 79.4858) |
| Luminance | 0.2355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.57
Dodger Blue
#3E82FC
ΔE00 2.95
Lightish Blue
#3D7AFD
ΔE00 3.25
Clear Blue
#247AFD
ΔE00 4.18
Azure
#007FFF
ΔE00 5.02
Cornflower
#6A79F7
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5781E8 #E8BE57
analogous
#57C9E8 #5781E8 #7657E8
triadic
#5781E8 #E85781 #81E857
tetradic
#5781E8 #E857C9 #E8BE57 #57E876
square
#5781E8 #E857C9 #E8BE57 #57E876
split-complementary
#5781E8 #E87657 #C9E857
monochromatic
#1843AD #2159E1 #5781E8 #8DA9EF #C3D2F7
Accessibility & contrast
On white
3.68
#5781E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#5781E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5781E8
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5781E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5781E8 | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508CEC
Deuteranopia (green-blind)
#387FE6
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5781e8; /* rgb */ color: rgb(87, 129, 232); /* oklch */ color: oklch(62.3% 0.162 265.3);
Tailwind
colors: {
custom: {
50: '#93a5f0',
500: '#5781e8',
950: '#000000',
},
}SCSS
$custom: #5781e8; $custom-light: #93a5f0; $custom-dark: #000000;
JSON
{
"hex": "#5781e8",
"rgb": {
"r": 87,
"g": 129,
"b": 232
},
"hsl": {
"h": 222.621,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.62349,
"c": 0.16208,
"h": 265.3
},
"luminance": 0.23553
}Semantic roles & 50–950 ramp
primary
#5781E8
secondary
#E8D8B3
accent
#9D0DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84