#5E79F4#5E79F4
#5E79F4 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.186 H 270.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5E79F4 |
|---|---|
| RGB | rgb(94, 121, 244) |
| HSL | hsl(229, 87%, 66%) |
| HSV | hsv(229, 61%, 96%) |
| CMYK | cmyk(61.5%, 50.4%, 0%, 4.3%) |
| CIE-LAB | lab(54.64, 27.32, -64.83) |
| CIE-LCH | lch(54.64, 70.35, 292.85°) |
| OKLab | oklab(61.92% 0.0025 -0.1858) |
| OKLCH | oklch(61.92% 0.186 270.8) |
| XYZ | xyz(27.7771, 22.5837, 88.4657) |
| Luminance | 0.2259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.00
Lightish Blue
#3D7AFD
ΔE00 3.83
Soft Blue
#6488EA
ΔE00 5.01
Cornflower Blue
#5170D7
ΔE00 5.22
Dodger Blue
#3E82FC
ΔE00 5.58
Clear Blue
#247AFD
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E79F4 #F4D95E
analogous
#5EC4F4 #5E79F4 #8E5EF4
triadic
#5E79F4 #F45E79 #79F45E
tetradic
#5E79F4 #F45EC4 #F4D95E #5EF48E
square
#5E79F4 #F45EC4 #F4D95E #5EF48E
split-complementary
#5E79F4 #F48E5E #C4F45E
monochromatic
#0E30CA #2549F0 #5E79F4 #97A9F8 #D1D8FC
Accessibility & contrast
On white
3.81
#5E79F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#5E79F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E79F4
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E79F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E79F4 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#338AF8
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5e79f4; /* rgb */ color: rgb(94, 121, 244); /* oklch */ color: oklch(61.9% 0.186 270.8);
Tailwind
colors: {
custom: {
50: '#999ff8',
500: '#5e79f4',
950: '#000000',
},
}SCSS
$custom: #5e79f4; $custom-light: #999ff8; $custom-dark: #000000;
JSON
{
"hex": "#5e79f4",
"rgb": {
"r": 94,
"g": 121,
"b": 244
},
"hsl": {
"h": 229.2,
"s": 87.209,
"l": 66.275
},
"oklch": {
"l": 0.61922,
"c": 0.18579,
"h": 270.8
},
"luminance": 0.22586
}Semantic roles & 50–950 ramp
primary
#5E79F4
secondary
#EFE7BE
accent
#BB02E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85