#5A7DED#5A7DED
#5A7DED is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.0% C 0.173 H 268.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7DED |
|---|---|
| RGB | rgb(90, 125, 237) |
| HSL | hsl(226, 80%, 64%) |
| HSV | hsv(226, 62%, 93%) |
| CMYK | cmyk(62%, 47.3%, 0%, 7.1%) |
| CIE-LAB | lab(55.02, 21.86, -60.33) |
| CIE-LCH | lch(55.02, 64.17, 289.92°) |
| OKLab | oklab(62.02% -0.0059 -0.1726) |
| OKLCH | oklch(62.02% 0.173 268) |
| XYZ | xyz(26.8309, 22.9530, 83.1208) |
| Luminance | 0.2296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.02
Soft Blue
#6488EA
ΔE00 3.52
Cornflower
#6A79F7
ΔE00 3.69
Dodger Blue
#3E82FC
ΔE00 4.05
Clear Blue
#247AFD
ΔE00 4.55
Cornflower Blue
#5170D7
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7DED #EDCA5A
analogous
#5AC7ED #5A7DED #815AED
triadic
#5A7DED #ED5A7D #7DED5A
tetradic
#5A7DED #ED5AC7 #EDCA5A #5AED81
square
#5A7DED #ED5AC7 #EDCA5A #5AED81
split-complementary
#5A7DED #ED815A #C7ED5A
monochromatic
#143BB8 #2352E7 #5A7DED #91A8F3 #C8D4F9
Accessibility & contrast
On white
3.76
#5A7DED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#5A7DED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7DED
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7DED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7DED | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448BF1
Deuteranopia (green-blind)
#287DEB
Tritanopia (blue-blind)
#0097AA
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5a7ded; /* rgb */ color: rgb(90, 125, 237); /* oklch */ color: oklch(62.0% 0.173 268.0);
Tailwind
colors: {
custom: {
50: '#95a2f3',
500: '#5a7ded',
950: '#000000',
},
}SCSS
$custom: #5a7ded; $custom-light: #95a2f3; $custom-dark: #000000;
JSON
{
"hex": "#5a7ded",
"rgb": {
"r": 90,
"g": 125,
"b": 237
},
"hsl": {
"h": 225.714,
"s": 80.328,
"l": 64.118
},
"oklch": {
"l": 0.62017,
"c": 0.17268,
"h": 268
},
"luminance": 0.22955
}Semantic roles & 50–950 ramp
primary
#5A7DED
secondary
#EBDFB8
accent
#AA09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85