#5A7FFB#5A7FFB
#5A7FFB is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.3% C 0.189 H 268.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FFB |
|---|---|
| RGB | rgb(90, 127, 251) |
| HSL | hsl(226, 95%, 67%) |
| HSV | hsv(226, 64%, 98%) |
| CMYK | cmyk(64.1%, 49.4%, 0%, 1.6%) |
| CIE-LAB | lab(56.40, 25.35, -65.88) |
| CIE-LCH | lch(56.40, 70.59, 291.05°) |
| OKLab | oklab(63.34% -0.0061 -0.1889) |
| OKLCH | oklch(63.34% 0.189 268.1) |
| XYZ | xyz(29.2124, 24.3148, 94.4018) |
| Luminance | 0.2432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.13
Soft Blue
#6488EA
ΔE00 3.36
Cornflower
#6A79F7
ΔE00 3.53
Dodger Blue
#3E82FC
ΔE00 3.78
Clear Blue
#247AFD
ΔE00 4.81
Azure
#007FFF
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FFB #FBD65A
analogous
#5AD0FB #5A7FFB #865AFB
triadic
#5A7FFB #FB5A7F #7FFB5A
tetradic
#5A7FFB #FB5AD0 #FBD65A #5AFB86
square
#5A7FFB #FB5AD0 #FBD65A #5AFB86
split-complementary
#5A7FFB #FB865A #D0FB5A
monochromatic
#0535D5 #1E51FA #5A7FFB #96ADFC #D2DCFE
Accessibility & contrast
On white
3.58
#5A7FFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#5A7FFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FFB
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FFB | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#0180F8
Tritanopia (blue-blind)
#009CB1
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5a7ffb; /* rgb */ color: rgb(90, 127, 251); /* oklch */ color: oklch(63.3% 0.189 268.1);
Tailwind
colors: {
custom: {
50: '#98a3fd',
500: '#5a7ffb',
950: '#000000',
},
}SCSS
$custom: #5a7ffb; $custom-light: #98a3fd; $custom-dark: #000000;
JSON
{
"hex": "#5a7ffb",
"rgb": {
"r": 90,
"g": 127,
"b": 251
},
"hsl": {
"h": 226.211,
"s": 95.266,
"l": 66.863
},
"oklch": {
"l": 0.63341,
"c": 0.18896,
"h": 268.1
},
"luminance": 0.24317
}Semantic roles & 50–950 ramp
primary
#5A7FFB
secondary
#F2E6BF
accent
#B100E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F18
muted
#7F7F86