#5A7DF7#5A7DF7
#5A7DF7 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.7% C 0.186 H 268.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7DF7 |
|---|---|
| RGB | rgb(90, 125, 247) |
| HSL | hsl(227, 91%, 66%) |
| HSV | hsv(227, 64%, 97%) |
| CMYK | cmyk(63.6%, 49.4%, 0%, 3.1%) |
| CIE-LAB | lab(55.64, 25.22, -64.90) |
| CIE-LCH | lch(55.64, 69.63, 291.24°) |
| OKLab | oklab(62.68% -0.0047 -0.186) |
| OKLCH | oklch(62.68% 0.186 268.5) |
| XYZ | xyz(28.3328, 23.5537, 91.0309) |
| Luminance | 0.2356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.97
Cornflower
#6A79F7
ΔE00 3.14
Soft Blue
#6488EA
ΔE00 3.74
Dodger Blue
#3E82FC
ΔE00 4.10
Clear Blue
#247AFD
ΔE00 4.73
Deep Sky Blue
#0D75F8
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7DF7 #F7D45A
analogous
#5ACBF7 #5A7DF7 #855AF7
triadic
#5A7DF7 #F75A7D #7DF75A
tetradic
#5A7DF7 #F75ACB #F7D45A #5AF785
square
#5A7DF7 #F75ACB #F7D45A #5AF785
split-complementary
#5A7DF7 #F7855A #CBF75A
monochromatic
#0A35CD #204FF4 #5A7DF7 #94ABFA #CFD9FD
Accessibility & contrast
On white
3.68
#5A7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#5A7DF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7DF7
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7DF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7DF7 | 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)
#398DFB
Deuteranopia (green-blind)
#077FF4
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5a7df7; /* rgb */ color: rgb(90, 125, 247); /* oklch */ color: oklch(62.7% 0.186 268.5);
Tailwind
colors: {
custom: {
50: '#97a2fb',
500: '#5a7df7',
950: '#000000',
},
}SCSS
$custom: #5a7df7; $custom-light: #97a2fb; $custom-dark: #000000;
JSON
{
"hex": "#5a7df7",
"rgb": {
"r": 90,
"g": 125,
"b": 247
},
"hsl": {
"h": 226.624,
"s": 90.751,
"l": 66.078
},
"oklch": {
"l": 0.62681,
"c": 0.18606,
"h": 268.5
},
"luminance": 0.23556
}Semantic roles & 50–950 ramp
primary
#5A7DF7
secondary
#F0E5BD
accent
#B200E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85