#5A7EE7#5A7EE7
#5A7EE7 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.8% C 0.163 H 267.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7EE7 |
|---|---|
| RGB | rgb(90, 126, 231) |
| HSL | hsl(225, 75%, 63%) |
| HSV | hsv(225, 61%, 91%) |
| CMYK | cmyk(61%, 45.5%, 0%, 9.4%) |
| CIE-LAB | lab(54.93, 19.24, -57.14) |
| CIE-LCH | lch(54.93, 60.29, 288.61°) |
| OKLab | oklab(61.83% -0.0077 -0.1632) |
| OKLCH | oklch(61.83% 0.163 267.3) |
| XYZ | xyz(26.0962, 22.8626, 78.6235) |
| Luminance | 0.2286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.26
Lightish Blue
#3D7AFD
ΔE00 3.28
Dodger Blue
#3E82FC
ΔE00 3.95
Cornflower
#6A79F7
ΔE00 4.36
Clear Blue
#247AFD
ΔE00 4.55
Cornflower Blue
#5170D7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7EE7 #E7C35A
analogous
#5AC4E7 #5A7EE7 #7C5AE7
triadic
#5A7EE7 #E75A7E #7EE75A
tetradic
#5A7EE7 #E75AC4 #E7C35A #5AE77C
square
#5A7EE7 #E75AC4 #E7C35A #5AE77C
split-complementary
#5A7EE7 #E77C5A #C4E75A
monochromatic
#193FAD #2554DF #5A7EE7 #8FA8EF #C5D2F7
Accessibility & contrast
On white
3.77
#5A7EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#5A7EE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7EE7
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7EE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7EE7 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C8AEB
Deuteranopia (green-blind)
#347DE5
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5a7ee7; /* rgb */ color: rgb(90, 126, 231); /* oklch */ color: oklch(61.8% 0.163 267.3);
Tailwind
colors: {
custom: {
50: '#95a2ef',
500: '#5a7ee7',
950: '#000000',
},
}SCSS
$custom: #5a7ee7; $custom-light: #95a2ef; $custom-dark: #000000;
JSON
{
"hex": "#5a7ee7",
"rgb": {
"r": 90,
"g": 126,
"b": 231
},
"hsl": {
"h": 224.681,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.61831,
"c": 0.16334,
"h": 267.3
},
"luminance": 0.22865
}Semantic roles & 50–950 ramp
primary
#5A7EE7
secondary
#E8DBB5
accent
#A40FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84