#5A7FF5#5A7FF5
#5A7FF5 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.9% C 0.181 H 267.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FF5 |
|---|---|
| RGB | rgb(90, 127, 245) |
| HSL | hsl(226, 89%, 66%) |
| HSV | hsv(226, 63%, 96%) |
| CMYK | cmyk(63.3%, 48.2%, 0%, 3.9%) |
| CIE-LAB | lab(56.03, 23.33, -63.16) |
| CIE-LCH | lch(56.03, 67.33, 290.27°) |
| OKLab | oklab(62.94% -0.0068 -0.1809) |
| OKLCH | oklch(62.94% 0.181 267.8) |
| XYZ | xyz(28.2816, 23.9424, 89.4994) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.00
Soft Blue
#6488EA
ΔE00 3.07
Dodger Blue
#3E82FC
ΔE00 3.61
Cornflower
#6A79F7
ΔE00 3.71
Clear Blue
#247AFD
ΔE00 4.60
Azure
#007FFF
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FF5 #F5D05A
analogous
#5ACDF5 #5A7FF5 #825AF5
triadic
#5A7FF5 #F55A7F #7FF55A
tetradic
#5A7FF5 #F55ACD #F5D05A #5AF582
square
#5A7FF5 #F55ACD #F5D05A #5AF582
split-complementary
#5A7FF5 #F5825A #CDF55A
monochromatic
#0C39C8 #2052F2 #5A7FF5 #94ACF8 #CDD9FC
Accessibility & contrast
On white
3.63
#5A7FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#5A7FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FF5
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FF5 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408EF9
Deuteranopia (green-blind)
#1D80F3
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5a7ff5; /* rgb */ color: rgb(90, 127, 245); /* oklch */ color: oklch(62.9% 0.181 267.8);
Tailwind
colors: {
custom: {
50: '#97a3f9',
500: '#5a7ff5',
950: '#000000',
},
}SCSS
$custom: #5a7ff5; $custom-light: #97a3f9; $custom-dark: #000000;
JSON
{
"hex": "#5a7ff5",
"rgb": {
"r": 90,
"g": 127,
"b": 245
},
"hsl": {
"h": 225.677,
"s": 88.571,
"l": 65.686
},
"oklch": {
"l": 0.6294,
"c": 0.18099,
"h": 267.8
},
"luminance": 0.23945
}Semantic roles & 50–950 ramp
primary
#5A7FF5
secondary
#EFE3BC
accent
#AF00E5
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85