#5E79EA#5E79EA
#5E79EA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.172 H 270.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5E79EA |
|---|---|
| RGB | rgb(94, 121, 234) |
| HSL | hsl(228, 77%, 64%) |
| HSV | hsv(228, 60%, 92%) |
| CMYK | cmyk(59.8%, 48.3%, 0%, 8.2%) |
| CIE-LAB | lab(54.02, 24.01, -60.26) |
| CIE-LCH | lch(54.02, 64.87, 291.72°) |
| OKLab | oklab(61.25% 0.0015 -0.1723) |
| OKLCH | oklch(61.25% 0.172 270.5) |
| XYZ | xyz(26.2998, 21.9928, 80.6850) |
| Luminance | 0.2200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.78
Lightish Blue
#3D7AFD
ΔE00 3.98
Cornflower Blue
#5170D7
ΔE00 4.31
Soft Blue
#6488EA
ΔE00 4.90
Clear Blue
#247AFD
ΔE00 5.58
Dodger Blue
#3E82FC
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E79EA #EACF5E
analogous
#5EBFEA #5E79EA #895EEA
triadic
#5E79EA #EA5E79 #79EA5E
tetradic
#5E79EA #EA5EBF #EACF5E #5EEA89
square
#5E79EA #EA5EBF #EACF5E #5EEA89
split-complementary
#5E79EA #EA895E #BFEA5E
monochromatic
#1836B6 #284CE3 #5E79EA #94A6F1 #CAD3F8
Accessibility & contrast
On white
3.89
#5E79EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#5E79EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E79EA
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E79EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E79EA | 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)
#3F88EE
Deuteranopia (green-blind)
#257BE8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5e79ea; /* rgb */ color: rgb(94, 121, 234); /* oklch */ color: oklch(61.3% 0.172 270.5);
Tailwind
colors: {
custom: {
50: '#979ff1',
500: '#5e79ea',
950: '#000000',
},
}SCSS
$custom: #5e79ea; $custom-light: #979ff1; $custom-dark: #000000;
JSON
{
"hex": "#5e79ea",
"rgb": {
"r": 94,
"g": 121,
"b": 234
},
"hsl": {
"h": 228.429,
"s": 76.923,
"l": 64.314
},
"oklch": {
"l": 0.61252,
"c": 0.17234,
"h": 270.5
},
"luminance": 0.21995
}Semantic roles & 50–950 ramp
primary
#5E79EA
secondary
#EAE1BA
accent
#B20CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85