#5A7EDD#5A7EDD
#5A7EDD is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.150 H 266.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7EDD |
|---|---|
| RGB | rgb(90, 126, 221) |
| HSL | hsl(224, 66%, 61%) |
| HSV | hsv(224, 59%, 87%) |
| CMYK | cmyk(59.3%, 43%, 0%, 13.3%) |
| CIE-LAB | lab(54.36, 15.91, -52.45) |
| CIE-LCH | lch(54.36, 54.81, 286.87°) |
| OKLab | oklab(61.21% -0.0093 -0.1494) |
| OKLCH | oklch(61.21% 0.15 266.4) |
| XYZ | xyz(24.7240, 22.3138, 71.3967) |
| Luminance | 0.2232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.66
Lightish Blue
#3D7AFD
ΔE00 3.95
Dodger Blue
#3E82FC
ΔE00 4.41
Clear Blue
#247AFD
ΔE00 4.85
Cornflower Blue
#5170D7
ΔE00 4.89
Cornflower
#6A79F7
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7EDD #DDB95A
analogous
#5AC0DD #5A7EDD #775ADD
triadic
#5A7EDD #DD5A7E #7EDD5A
tetradic
#5A7EDD #DD5AC0 #DDB95A #5ADD77
square
#5A7EDD #DD5AC0 #DDB95A #5ADD77
split-complementary
#5A7EDD #DD775A #C0DD5A
monochromatic
#20429C #2B58CF #5A7EDD #8DA6E7 #BFCDF2
Accessibility & contrast
On white
3.84
#5A7EDD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#5A7EDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7EDD
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7EDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7EDD | 1.00 | 3.84 | 5.46 | 5.46 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5388E1
Deuteranopia (green-blind)
#417CDB
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5a7edd; /* rgb */ color: rgb(90, 126, 221); /* oklch */ color: oklch(61.2% 0.150 266.4);
Tailwind
colors: {
custom: {
50: '#93a2e8',
500: '#5a7edd',
950: '#000000',
},
}SCSS
$custom: #5a7edd; $custom-light: #93a2e8; $custom-dark: #000000;
JSON
{
"hex": "#5a7edd",
"rgb": {
"r": 90,
"g": 126,
"b": 221
},
"hsl": {
"h": 223.511,
"s": 65.829,
"l": 60.98
},
"oklch": {
"l": 0.61208,
"c": 0.14968,
"h": 266.4
},
"luminance": 0.22316
}Semantic roles & 50–950 ramp
primary
#5A7EDD
secondary
#E2D5B1
accent
#9C18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84