#5A7FED#5A7FED
#5A7FED is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.4% C 0.170 H 267.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FED |
|---|---|
| RGB | rgb(90, 127, 237) |
| HSL | hsl(225, 80%, 64%) |
| HSV | hsv(225, 62%, 93%) |
| CMYK | cmyk(62%, 46.4%, 0%, 7.1%) |
| CIE-LAB | lab(55.55, 20.64, -59.49) |
| CIE-LCH | lch(55.55, 62.97, 289.13°) |
| OKLab | oklab(62.42% -0.0078 -0.1701) |
| OKLCH | oklch(62.42% 0.17 267.4) |
| XYZ | xyz(27.0867, 23.4644, 83.2060) |
| Luminance | 0.2347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.90
Lightish Blue
#3D7AFD
ΔE00 3.08
Dodger Blue
#3E82FC
ΔE00 3.59
Cornflower
#6A79F7
ΔE00 4.15
Clear Blue
#247AFD
ΔE00 4.49
Deep Sky Blue
#0D75F8
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FED #EDC85A
analogous
#5AC9ED #5A7FED #7F5AED
triadic
#5A7FED #ED5A7F #7FED5A
tetradic
#5A7FED #ED5AC9 #EDC85A #5AED7F
square
#5A7FED #ED5AC9 #EDC85A #5AED7F
split-complementary
#5A7FED #ED7F5A #C9ED5A
monochromatic
#143DB8 #2354E7 #5A7FED #91AAF3 #C8D5F9
Accessibility & contrast
On white
3.69
#5A7FED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#5A7FED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FED
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FED | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#488CF1
Deuteranopia (green-blind)
#2E7FEB
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5a7fed; /* rgb */ color: rgb(90, 127, 237); /* oklch */ color: oklch(62.4% 0.170 267.4);
Tailwind
colors: {
custom: {
50: '#95a3f3',
500: '#5a7fed',
950: '#000000',
},
}SCSS
$custom: #5a7fed; $custom-light: #95a3f3; $custom-dark: #000000;
JSON
{
"hex": "#5a7fed",
"rgb": {
"r": 90,
"g": 127,
"b": 237
},
"hsl": {
"h": 224.898,
"s": 80.328,
"l": 64.118
},
"oklch": {
"l": 0.62417,
"c": 0.17026,
"h": 267.4
},
"luminance": 0.23467
}Semantic roles & 50–950 ramp
primary
#5A7FED
secondary
#EBDEB8
accent
#A709DD
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85