#5E7AEC#5E7AEC
#5E7AEC is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.174 H 270.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5E7AEC |
|---|---|
| RGB | rgb(94, 122, 236) |
| HSL | hsl(228, 79%, 65%) |
| HSV | hsv(228, 60%, 93%) |
| CMYK | cmyk(60.2%, 48.3%, 0%, 7.5%) |
| CIE-LAB | lab(54.40, 24.06, -60.77) |
| CIE-LCH | lch(54.40, 65.36, 291.60°) |
| OKLab | oklab(61.58% 0.0007 -0.1738) |
| OKLCH | oklch(61.58% 0.174 270.2) |
| XYZ | xyz(26.7109, 22.3527, 82.2475) |
| Luminance | 0.2235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.70
Lightish Blue
#3D7AFD
ΔE00 3.79
Soft Blue
#6488EA
ΔE00 4.56
Cornflower Blue
#5170D7
ΔE00 4.67
Dodger Blue
#3E82FC
ΔE00 5.34
Clear Blue
#247AFD
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E7AEC #ECD05E
analogous
#5EC1EC #5E7AEC #895EEC
triadic
#5E7AEC #EC5E7A #7AEC5E
tetradic
#5E7AEC #EC5EC1 #ECD05E #5EEC89
square
#5E7AEC #EC5EC1 #ECD05E #5EEC89
split-complementary
#5E7AEC #EC895E #C1EC5E
monochromatic
#1636BA #274DE6 #5E7AEC #95A7F2 #CBD4F9
Accessibility & contrast
On white
3.84
#5E7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#5E7AEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E7AEC
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E7AEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E7AEC | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#247CEA
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5e7aec; /* rgb */ color: rgb(94, 122, 236); /* oklch */ color: oklch(61.6% 0.174 270.2);
Tailwind
colors: {
custom: {
50: '#97a0f3',
500: '#5e7aec',
950: '#000000',
},
}SCSS
$custom: #5e7aec; $custom-light: #97a0f3; $custom-dark: #000000;
JSON
{
"hex": "#5e7aec",
"rgb": {
"r": 94,
"g": 122,
"b": 236
},
"hsl": {
"h": 228.169,
"s": 78.889,
"l": 64.706
},
"oklch": {
"l": 0.6158,
"c": 0.17381,
"h": 270.2
},
"luminance": 0.22355
}Semantic roles & 50–950 ramp
primary
#5E7AEC
secondary
#EBE2BB
accent
#B20ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85