#5A7FF6#5A7FF6
#5A7FF6 is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.0% C 0.182 H 267.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FF6 |
|---|---|
| RGB | rgb(90, 127, 246) |
| HSL | hsl(226, 90%, 66%) |
| HSV | hsv(226, 63%, 96%) |
| CMYK | cmyk(63.4%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(56.09, 23.67, -63.61) |
| CIE-LCH | lch(56.09, 67.87, 290.41°) |
| OKLab | oklab(63.01% -0.0067 -0.1822) |
| OKLCH | oklch(63.01% 0.182 267.9) |
| XYZ | xyz(28.4347, 24.0037, 90.3056) |
| Luminance | 0.2401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.01
Soft Blue
#6488EA
ΔE00 3.11
Dodger Blue
#3E82FC
ΔE00 3.63
Cornflower
#6A79F7
ΔE00 3.67
Clear Blue
#247AFD
ΔE00 4.63
Azure
#007FFF
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FF6 #F6D15A
analogous
#5ACDF6 #5A7FF6 #835AF6
triadic
#5A7FF6 #F65A7F #7FF65A
tetradic
#5A7FF6 #F65ACD #F6D15A #5AF683
square
#5A7FF6 #F65ACD #F6D15A #5AF683
split-complementary
#5A7FF6 #F6835A #CDF65A
monochromatic
#0B38CB #2052F3 #5A7FF6 #94ACF9 #CED9FC
Accessibility & contrast
On white
3.62
#5A7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#5A7FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FF6
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FF6 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8EFA
Deuteranopia (green-blind)
#1A80F4
Tritanopia (blue-blind)
#009BAF
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5a7ff6; /* rgb */ color: rgb(90, 127, 246); /* oklch */ color: oklch(63.0% 0.182 267.9);
Tailwind
colors: {
custom: {
50: '#97a3fa',
500: '#5a7ff6',
950: '#000000',
},
}SCSS
$custom: #5a7ff6; $custom-light: #97a3fa; $custom-dark: #000000;
JSON
{
"hex": "#5a7ff6",
"rgb": {
"r": 90,
"g": 127,
"b": 246
},
"hsl": {
"h": 225.769,
"s": 89.655,
"l": 65.882
},
"oklch": {
"l": 0.63006,
"c": 0.18232,
"h": 267.9
},
"luminance": 0.24006
}Semantic roles & 50–950 ramp
primary
#5A7FF6
secondary
#F0E3BC
accent
#AF00E6
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85