#5781F7#5781F7
#5781F7 is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.3% C 0.182 H 266.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5781F7 |
|---|---|
| RGB | rgb(87, 129, 247) |
| HSL | hsl(224, 91%, 65%) |
| HSV | hsv(224, 65%, 97%) |
| CMYK | cmyk(64.8%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(56.53, 22.30, -63.48) |
| CIE-LCH | lch(56.53, 67.28, 289.36°) |
| OKLab | oklab(63.32% -0.0111 -0.1818) |
| OKLCH | oklch(63.32% 0.182 266.5) |
| XYZ | xyz(28.5634, 24.4395, 91.1897) |
| Luminance | 0.2444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.67
Dodger Blue
#3E82FC
ΔE00 2.86
Lightish Blue
#3D7AFD
ΔE00 2.93
Clear Blue
#247AFD
ΔE00 4.32
Cornflower
#6A79F7
ΔE00 4.54
Azure
#007FFF
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5781F7 #F7CD57
analogous
#57D1F7 #5781F7 #7D57F7
triadic
#5781F7 #F75781 #81F757
tetradic
#5781F7 #F757D1 #F7CD57 #57F77D
square
#5781F7 #F757D1 #F7CD57 #57F77D
split-complementary
#5781F7 #F77D57 #D1F757
monochromatic
#0A3CCA #1D55F4 #5781F7 #91ADFA #CCD9FD
Accessibility & contrast
On white
3.57
#5781F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#5781F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5781F7
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5781F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5781F7 | 1.00 | 3.57 | 5.89 | 5.89 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#428FFB
Deuteranopia (green-blind)
#1C81F5
Tritanopia (blue-blind)
#009CB0
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5781f7; /* rgb */ color: rgb(87, 129, 247); /* oklch */ color: oklch(63.3% 0.182 266.5);
Tailwind
colors: {
custom: {
50: '#96a5fa',
500: '#5781f7',
950: '#000000',
},
}SCSS
$custom: #5781f7; $custom-light: #96a5fa; $custom-dark: #000000;
JSON
{
"hex": "#5781f7",
"rgb": {
"r": 87,
"g": 129,
"b": 247
},
"hsl": {
"h": 224.25,
"s": 90.909,
"l": 65.49
},
"oklch": {
"l": 0.63316,
"c": 0.18217,
"h": 266.5
},
"luminance": 0.24442
}Semantic roles & 50–950 ramp
primary
#5781F7
secondary
#F0E2BA
accent
#A900E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85