#5E7AEA#5E7AEA
#5E7AEA is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.171 H 270.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7AEA |
|---|---|
| RGB | rgb(94, 122, 234) |
| HSL | hsl(228, 77%, 64%) |
| HSV | hsv(228, 60%, 92%) |
| CMYK | cmyk(59.8%, 47.9%, 0%, 8.2%) |
| CIE-LAB | lab(54.28, 23.40, -59.85) |
| CIE-LCH | lch(54.28, 64.26, 291.36°) |
| OKLab | oklab(61.45% 0.0005 -0.1711) |
| OKLCH | oklch(61.45% 0.171 270.2) |
| XYZ | xyz(26.4219, 22.2371, 80.7258) |
| Luminance | 0.2224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.88
Lightish Blue
#3D7AFD
ΔE00 3.85
Cornflower Blue
#5170D7
ΔE00 4.51
Soft Blue
#6488EA
ΔE00 4.56
Dodger Blue
#3E82FC
ΔE00 5.38
Clear Blue
#247AFD
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7AEA #EACE5E
analogous
#5EC0EA #5E7AEA #885EEA
triadic
#5E7AEA #EA5E7A #7AEA5E
tetradic
#5E7AEA #EA5EC0 #EACE5E #5EEA88
square
#5E7AEA #EA5EC0 #EACE5E #5EEA88
split-complementary
#5E7AEA #EA885E #C0EA5E
monochromatic
#1837B6 #284DE3 #5E7AEA #94A7F1 #CAD3F8
Accessibility & contrast
On white
3.85
#5E7AEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#5E7AEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7AEA
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7AEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7AEA | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5e7aea; /* rgb */ color: rgb(94, 122, 234); /* oklch */ color: oklch(61.4% 0.171 270.2);
Tailwind
colors: {
custom: {
50: '#97a0f1',
500: '#5e7aea',
950: '#000000',
},
}SCSS
$custom: #5e7aea; $custom-light: #97a0f1; $custom-dark: #000000;
JSON
{
"hex": "#5e7aea",
"rgb": {
"r": 94,
"g": 122,
"b": 234
},
"hsl": {
"h": 228,
"s": 76.923,
"l": 64.314
},
"oklch": {
"l": 0.61448,
"c": 0.1711,
"h": 270.2
},
"luminance": 0.22239
}Semantic roles & 50–950 ramp
primary
#5E7AEA
secondary
#EAE0BA
accent
#B00CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85