#5E79DF#5E79DF
#5E79DF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.157 H 270.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5E79DF |
|---|---|
| RGB | rgb(94, 121, 223) |
| HSL | hsl(227, 67%, 62%) |
| HSV | hsv(227, 58%, 87%) |
| CMYK | cmyk(57.8%, 45.7%, 0%, 12.5%) |
| CIE-LAB | lab(53.36, 20.39, -55.15) |
| CIE-LCH | lch(53.36, 58.80, 290.29°) |
| OKLab | oklab(60.54% 0.0001 -0.1573) |
| OKLCH | oklch(60.54% 0.157 270) |
| XYZ | xyz(24.7683, 21.3802, 72.6193) |
| Luminance | 0.2138 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.57
Cornflower
#6A79F7
ΔE00 3.94
Lightish Blue
#3D7AFD
ΔE00 4.55
Soft Blue
#6488EA
ΔE00 5.09
Clear Blue
#247AFD
ΔE00 5.84
Dodger Blue
#3E82FC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E79DF #DFC45E
analogous
#5EB9DF #5E79DF #845EDF
triadic
#5E79DF #DF5E79 #79DF5E
tetradic
#5E79DF #DF5EB9 #DFC45E #5EDF84
square
#5E79DF #DF5EB9 #DFC45E #5EDF84
split-complementary
#5E79DF #DF845E #B9DF5E
monochromatic
#203BA2 #2B4FD5 #5E79DF #91A3E9 #C4CEF3
Accessibility & contrast
On white
3.98
#5E79DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#5E79DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E79DF
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E79DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E79DF | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4985E3
Deuteranopia (green-blind)
#367ADD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5e79df; /* rgb */ color: rgb(94, 121, 223); /* oklch */ color: oklch(60.5% 0.157 270.0);
Tailwind
colors: {
custom: {
50: '#969fe9',
500: '#5e79df',
950: '#000000',
},
}SCSS
$custom: #5e79df; $custom-light: #969fe9; $custom-dark: #000000;
JSON
{
"hex": "#5e79df",
"rgb": {
"r": 94,
"g": 121,
"b": 223
},
"hsl": {
"h": 227.442,
"s": 66.839,
"l": 62.157
},
"oklch": {
"l": 0.60541,
"c": 0.1573,
"h": 270
},
"luminance": 0.21382
}Semantic roles & 50–950 ramp
primary
#5E79DF
secondary
#E4DAB5
accent
#A817CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84