#5A7EF7#5A7EF7
#5A7EF7 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.9% C 0.185 H 268.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7EF7 |
|---|---|
| RGB | rgb(90, 126, 247) |
| HSL | hsl(226, 91%, 66%) |
| HSV | hsv(226, 64%, 97%) |
| CMYK | cmyk(63.6%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(55.90, 24.61, -64.48) |
| CIE-LCH | lch(55.90, 69.02, 290.89°) |
| OKLab | oklab(62.88% -0.0057 -0.1848) |
| OKLCH | oklch(62.88% 0.185 268.2) |
| XYZ | xyz(28.4601, 23.8082, 91.0733) |
| Luminance | 0.2381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.98
Cornflower
#6A79F7
ΔE00 3.38
Soft Blue
#6488EA
ΔE00 3.44
Dodger Blue
#3E82FC
ΔE00 3.87
Clear Blue
#247AFD
ΔE00 4.68
Deep Sky Blue
#0D75F8
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7EF7 #F7D35A
analogous
#5ACCF7 #5A7EF7 #845AF7
triadic
#5A7EF7 #F75A7E #7EF75A
tetradic
#5A7EF7 #F75ACC #F7D35A #5AF784
square
#5A7EF7 #F75ACC #F7D35A #5AF784
split-complementary
#5A7EF7 #F7845A #CCF75A
monochromatic
#0A37CD #2050F4 #5A7EF7 #94ACFA #CFD9FD
Accessibility & contrast
On white
3.64
#5A7EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#5A7EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7EF7
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7EF7 | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C8DFB
Deuteranopia (green-blind)
#107FF5
Tritanopia (blue-blind)
#009AAF
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5a7ef7; /* rgb */ color: rgb(90, 126, 247); /* oklch */ color: oklch(62.9% 0.185 268.2);
Tailwind
colors: {
custom: {
50: '#97a2fb',
500: '#5a7ef7',
950: '#000000',
},
}SCSS
$custom: #5a7ef7; $custom-light: #97a2fb; $custom-dark: #000000;
JSON
{
"hex": "#5a7ef7",
"rgb": {
"r": 90,
"g": 126,
"b": 247
},
"hsl": {
"h": 226.242,
"s": 90.751,
"l": 66.078
},
"oklch": {
"l": 0.62877,
"c": 0.18486,
"h": 268.2
},
"luminance": 0.23811
}Semantic roles & 50–950 ramp
primary
#5A7EF7
secondary
#F0E4BD
accent
#B100E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85