#5E7EE5#5E7EE5
#5E7EE5 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.9% C 0.159 H 268.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7EE5 |
|---|---|
| RGB | rgb(94, 126, 229) |
| HSL | hsl(226, 72%, 63%) |
| HSV | hsv(226, 59%, 90%) |
| CMYK | cmyk(59%, 45%, 0%, 10.2%) |
| CIE-LAB | lab(55.03, 19.31, -55.85) |
| CIE-LCH | lch(55.03, 59.10, 289.08°) |
| OKLab | oklab(61.93% -0.0042 -0.1593) |
| OKLCH | oklch(61.93% 0.159 268.5) |
| XYZ | xyz(26.2150, 22.9564, 77.1631) |
| Luminance | 0.2296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.27
Lightish Blue
#3D7AFD
ΔE00 3.84
Cornflower
#6A79F7
ΔE00 4.01
Dodger Blue
#3E82FC
ΔE00 4.54
Clear Blue
#247AFD
ΔE00 5.17
Cornflower Blue
#5170D7
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7EE5 #E5C55E
analogous
#5EC1E5 #5E7EE5 #815EE5
triadic
#5E7EE5 #E55E7E #7EE55E
tetradic
#5E7EE5 #E55EC1 #E5C55E #5EE581
square
#5E7EE5 #E55EC1 #E5C55E #5EE581
split-complementary
#5E7EE5 #E5815E #C1E55E
monochromatic
#1C3EAD #2954DC #5E7EE5 #93A8EE #C7D2F6
Accessibility & contrast
On white
3.76
#5E7EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#5E7EE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7EE5
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7EE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7EE5 | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8AE9
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5e7ee5; /* rgb */ color: rgb(94, 126, 229); /* oklch */ color: oklch(61.9% 0.159 268.5);
Tailwind
colors: {
custom: {
50: '#96a3ee',
500: '#5e7ee5',
950: '#000000',
},
}SCSS
$custom: #5e7ee5; $custom-light: #96a3ee; $custom-dark: #000000;
JSON
{
"hex": "#5e7ee5",
"rgb": {
"r": 94,
"g": 126,
"b": 229
},
"hsl": {
"h": 225.778,
"s": 72.193,
"l": 63.333
},
"oklch": {
"l": 0.61925,
"c": 0.15937,
"h": 268.5
},
"luminance": 0.22959
}Semantic roles & 50–950 ramp
primary
#5E7EE5
secondary
#E7DCB7
accent
#A611D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84