#5781E2#5781E2
#5781E2 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.154 H 264.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5781E2 |
|---|---|
| RGB | rgb(87, 129, 226) |
| HSL | hsl(222, 71%, 61%) |
| HSV | hsv(222, 62%, 89%) |
| CMYK | cmyk(61.5%, 42.9%, 0%, 11.4%) |
| CIE-LAB | lab(55.29, 15.20, -53.77) |
| CIE-LCH | lch(55.29, 55.87, 285.78°) |
| OKLab | oklab(61.98% -0.0143 -0.1533) |
| OKLCH | oklch(61.98% 0.154 264.7) |
| XYZ | xyz(25.5035, 23.2155, 75.0738) |
| Luminance | 0.2322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.85
Dodger Blue
#3E82FC
ΔE00 3.25
Lightish Blue
#3D7AFD
ΔE00 3.61
Clear Blue
#247AFD
ΔE00 4.32
Azure
#007FFF
ΔE00 5.04
Faded Blue
#658CBB
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5781E2 #E2B857
analogous
#57C6E2 #5781E2 #7357E2
triadic
#5781E2 #E25781 #81E257
tetradic
#5781E2 #E257C6 #E2B857 #57E273
square
#5781E2 #E257C6 #E2B857 #57E273
split-complementary
#5781E2 #E27357 #C6E257
monochromatic
#1C45A3 #255BD7 #5781E2 #8BA8EB #BFCFF4
Accessibility & contrast
On white
3.72
#5781E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#5781E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5781E2
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5781E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5781E2 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#558BE6
Deuteranopia (green-blind)
#407EE0
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5781e2; /* rgb */ color: rgb(87, 129, 226); /* oklch */ color: oklch(62.0% 0.154 264.7);
Tailwind
colors: {
custom: {
50: '#92a5eb',
500: '#5781e2',
950: '#000000',
},
}SCSS
$custom: #5781e2; $custom-light: #92a5eb; $custom-dark: #000000;
JSON
{
"hex": "#5781e2",
"rgb": {
"r": 87,
"g": 129,
"b": 226
},
"hsl": {
"h": 221.871,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.61976,
"c": 0.15395,
"h": 264.7
},
"luminance": 0.23218
}Semantic roles & 50–950 ramp
primary
#5781E2
secondary
#E4D5B0
accent
#9913D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84