#5A7EE1#5A7EE1
#5A7EE1 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.5% C 0.155 H 266.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7EE1 |
|---|---|
| RGB | rgb(90, 126, 225) |
| HSL | hsl(224, 69%, 62%) |
| HSV | hsv(224, 60%, 88%) |
| CMYK | cmyk(60%, 44%, 0%, 11.8%) |
| CIE-LAB | lab(54.58, 17.24, -54.33) |
| CIE-LCH | lch(54.58, 57.00, 287.60°) |
| OKLab | oklab(61.45% -0.0086 -0.1549) |
| OKLCH | oklch(61.45% 0.155 266.8) |
| XYZ | xyz(25.2633, 22.5295, 74.2369) |
| Luminance | 0.2253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.45
Lightish Blue
#3D7AFD
ΔE00 3.65
Dodger Blue
#3E82FC
ΔE00 4.19
Clear Blue
#247AFD
ΔE00 4.70
Cornflower
#6A79F7
ΔE00 4.88
Cornflower Blue
#5170D7
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7EE1 #E1BD5A
analogous
#5AC2E1 #5A7EE1 #7A5AE1
triadic
#5A7EE1 #E15A7E #7EE15A
tetradic
#5A7EE1 #E15AC2 #E1BD5A #5AE17A
square
#5A7EE1 #E15AC2 #E1BD5A #5AE17A
split-complementary
#5A7EE1 #E17A5A #C2E15A
monochromatic
#1E41A3 #2756D7 #5A7EE1 #8EA6EA #C2CFF4
Accessibility & contrast
On white
3.81
#5A7EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#5A7EE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7EE1
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7EE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7EE1 | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5089E5
Deuteranopia (green-blind)
#3C7DDF
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5a7ee1; /* rgb */ color: rgb(90, 126, 225); /* oklch */ color: oklch(61.5% 0.155 266.8);
Tailwind
colors: {
custom: {
50: '#94a2eb',
500: '#5a7ee1',
950: '#000000',
},
}SCSS
$custom: #5a7ee1; $custom-light: #94a2eb; $custom-dark: #000000;
JSON
{
"hex": "#5a7ee1",
"rgb": {
"r": 90,
"g": 126,
"b": 225
},
"hsl": {
"h": 224,
"s": 69.231,
"l": 61.765
},
"oklch": {
"l": 0.61454,
"c": 0.15517,
"h": 266.8
},
"luminance": 0.22532
}Semantic roles & 50–950 ramp
primary
#5A7EE1
secondary
#E4D7B2
accent
#9F14D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84