#5781FD#5781FD
#5781FD is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.7% C 0.190 H 266.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5781FD |
|---|---|
| RGB | rgb(87, 129, 253) |
| HSL | hsl(225, 98%, 67%) |
| HSV | hsv(225, 66%, 99%) |
| CMYK | cmyk(65.6%, 49%, 0%, 0.8%) |
| CIE-LAB | lab(56.90, 24.34, -66.19) |
| CIE-LCH | lch(56.90, 70.53, 290.19°) |
| OKLab | oklab(63.72% -0.0104 -0.1898) |
| OKLCH | oklch(63.72% 0.19 266.9) |
| XYZ | xyz(29.5042, 24.8158, 96.1445) |
| Luminance | 0.2482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.00
Lightish Blue
#3D7AFD
ΔE00 3.09
Dodger Blue
#3E82FC
ΔE00 3.10
Cornflower
#6A79F7
ΔE00 4.38
Clear Blue
#247AFD
ΔE00 4.57
Azure
#007FFF
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5781FD #FDD357
analogous
#57D4FD #5781FD #8057FD
triadic
#5781FD #FD5781 #81FD57
tetradic
#5781FD #FD57D4 #FDD357 #57FD80
square
#5781FD #FD57D4 #FDD357 #57FD80
split-complementary
#5781FD #FD8057 #D4FD57
monochromatic
#0338D7 #1B54FC #5781FD #93AEFE #D0DCFE
Accessibility & contrast
On white
3.52
#5781FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#5781FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5781FD
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5781FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5781FD | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B90FF
Deuteranopia (green-blind)
#0081FA
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5781fd; /* rgb */ color: rgb(87, 129, 253); /* oklch */ color: oklch(63.7% 0.190 266.9);
Tailwind
colors: {
custom: {
50: '#97a5ff',
500: '#5781fd',
950: '#000000',
},
}SCSS
$custom: #5781fd; $custom-light: #97a5ff; $custom-dark: #000000;
JSON
{
"hex": "#5781fd",
"rgb": {
"r": 87,
"g": 129,
"b": 253
},
"hsl": {
"h": 224.819,
"s": 97.647,
"l": 66.667
},
"oklch": {
"l": 0.63717,
"c": 0.19011,
"h": 266.9
},
"luminance": 0.24819
}Semantic roles & 50–950 ramp
primary
#5781FD
secondary
#F3E5BD
accent
#AB00E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86