#5E7AE6#5E7AE6
#5E7AE6 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.166 H 270.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7AE6 |
|---|---|
| RGB | rgb(94, 122, 230) |
| HSL | hsl(228, 73%, 64%) |
| HSV | hsv(228, 59%, 90%) |
| CMYK | cmyk(59.1%, 47%, 0%, 9.8%) |
| CIE-LAB | lab(54.04, 22.08, -58.00) |
| CIE-LCH | lch(54.04, 62.06, 290.84°) |
| OKLab | oklab(61.19% 0 -0.1657) |
| OKLCH | oklch(61.19% 0.166 270) |
| XYZ | xyz(25.8538, 22.0098, 77.7335) |
| Luminance | 0.2201 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.27
Lightish Blue
#3D7AFD
ΔE00 4.02
Cornflower Blue
#5170D7
ΔE00 4.22
Soft Blue
#6488EA
ΔE00 4.59
Dodger Blue
#3E82FC
ΔE00 5.47
Clear Blue
#247AFD
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7AE6 #E6CA5E
analogous
#5EBEE6 #5E7AE6 #865EE6
triadic
#5E7AE6 #E65E7A #7AE65E
tetradic
#5E7AE6 #E65EBE #E6CA5E #5EE686
square
#5E7AE6 #E65EBE #E6CA5E #5EE686
split-complementary
#5E7AE6 #E6865E #BEE65E
monochromatic
#1B39AF #294EDE #5E7AE6 #93A6EE #C8D2F6
Accessibility & contrast
On white
3.89
#5E7AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#5E7AE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7AE6
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7AE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7AE6 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4588EA
Deuteranopia (green-blind)
#2F7BE4
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5e7ae6; /* rgb */ color: rgb(94, 122, 230); /* oklch */ color: oklch(61.2% 0.166 270.0);
Tailwind
colors: {
custom: {
50: '#97a0ee',
500: '#5e7ae6',
950: '#000000',
},
}SCSS
$custom: #5e7ae6; $custom-light: #97a0ee; $custom-dark: #000000;
JSON
{
"hex": "#5e7ae6",
"rgb": {
"r": 94,
"g": 122,
"b": 230
},
"hsl": {
"h": 227.647,
"s": 73.118,
"l": 63.529
},
"oklch": {
"l": 0.61188,
"c": 0.16566,
"h": 270
},
"luminance": 0.22012
}Semantic roles & 50–950 ramp
primary
#5E7AE6
secondary
#E8DEB8
accent
#AD10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84