#5A7CED#5A7CED
#5A7CED is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.8% C 0.174 H 268.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7CED |
|---|---|
| RGB | rgb(90, 124, 237) |
| HSL | hsl(226, 80%, 64%) |
| HSV | hsv(226, 62%, 93%) |
| CMYK | cmyk(62%, 47.7%, 0%, 7.1%) |
| CIE-LAB | lab(54.76, 22.47, -60.75) |
| CIE-LCH | lch(54.76, 64.77, 290.30°) |
| OKLab | oklab(61.82% -0.005 -0.1738) |
| OKLCH | oklch(61.82% 0.174 268.4) |
| XYZ | xyz(26.7050, 22.7011, 83.0788) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.05
Cornflower
#6A79F7
ΔE00 3.49
Soft Blue
#6488EA
ΔE00 3.84
Dodger Blue
#3E82FC
ΔE00 4.30
Clear Blue
#247AFD
ΔE00 4.62
Cornflower Blue
#5170D7
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7CED #EDCB5A
analogous
#5AC6ED #5A7CED #825AED
triadic
#5A7CED #ED5A7C #7CED5A
tetradic
#5A7CED #ED5AC6 #EDCB5A #5AED82
square
#5A7CED #ED5AC6 #EDCB5A #5AED82
split-complementary
#5A7CED #ED825A #C6ED5A
monochromatic
#143AB8 #2350E7 #5A7CED #91A8F3 #C8D4F9
Accessibility & contrast
On white
3.79
#5A7CED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#5A7CED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7CED
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7CED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7CED | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#428AF1
Deuteranopia (green-blind)
#247DEB
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5a7ced; /* rgb */ color: rgb(90, 124, 237); /* oklch */ color: oklch(61.8% 0.174 268.4);
Tailwind
colors: {
custom: {
50: '#96a1f3',
500: '#5a7ced',
950: '#000000',
},
}SCSS
$custom: #5a7ced; $custom-light: #96a1f3; $custom-dark: #000000;
JSON
{
"hex": "#5a7ced",
"rgb": {
"r": 90,
"g": 124,
"b": 237
},
"hsl": {
"h": 226.122,
"s": 80.328,
"l": 64.118
},
"oklch": {
"l": 0.61818,
"c": 0.17389,
"h": 268.4
},
"luminance": 0.22703
}Semantic roles & 50–950 ramp
primary
#5A7CED
secondary
#EBDFB8
accent
#AC09DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85