#5A7FF0#5A7FF0
#5A7FF0 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.6% C 0.174 H 267.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FF0 |
|---|---|
| RGB | rgb(90, 127, 240) |
| HSL | hsl(225, 83%, 65%) |
| HSV | hsv(225, 63%, 94%) |
| CMYK | cmyk(62.5%, 47.1%, 0%, 5.9%) |
| CIE-LAB | lab(55.73, 21.65, -60.87) |
| CIE-LCH | lch(55.73, 64.61, 289.58°) |
| OKLab | oklab(62.61% -0.0074 -0.1741) |
| OKLCH | oklch(62.61% 0.174 267.6) |
| XYZ | xyz(27.5286, 23.6412, 85.5337) |
| Luminance | 0.2364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.93
Lightish Blue
#3D7AFD
ΔE00 3.02
Dodger Blue
#3E82FC
ΔE00 3.57
Cornflower
#6A79F7
ΔE00 3.96
Clear Blue
#247AFD
ΔE00 4.51
Azure
#007FFF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FF0 #F0CB5A
analogous
#5ACAF0 #5A7FF0 #805AF0
triadic
#5A7FF0 #F05A7F #7FF05A
tetradic
#5A7FF0 #F05ACA #F0CB5A #5AF080
square
#5A7FF0 #F05ACA #F0CB5A #5AF080
split-complementary
#5A7FF0 #F0805A #CAF05A
monochromatic
#113CBE #2253EB #5A7FF0 #92ABF5 #CAD6FA
Accessibility & contrast
On white
3.67
#5A7FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#5A7FF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FF0
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FF0 | 1.00 | 3.67 | 5.73 | 5.73 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468DF4
Deuteranopia (green-blind)
#287FEE
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5a7ff0; /* rgb */ color: rgb(90, 127, 240); /* oklch */ color: oklch(62.6% 0.174 267.6);
Tailwind
colors: {
custom: {
50: '#96a3f6',
500: '#5a7ff0',
950: '#000000',
},
}SCSS
$custom: #5a7ff0; $custom-light: #96a3f6; $custom-dark: #000000;
JSON
{
"hex": "#5a7ff0",
"rgb": {
"r": 90,
"g": 127,
"b": 240
},
"hsl": {
"h": 225.2,
"s": 83.333,
"l": 64.706
},
"oklch": {
"l": 0.62611,
"c": 0.1743,
"h": 267.6
},
"luminance": 0.23644
}Semantic roles & 50–950 ramp
primary
#5A7FF0
secondary
#EDE0B9
accent
#AA06E0
background
#F9FAFF
surface
#F2F3FE
border
#CCCDD6
text
#0F0F17
muted
#7E7F85