#5E79EB#5E79EB
#5E79EB is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.174 H 270.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5E79EB |
|---|---|
| RGB | rgb(94, 121, 235) |
| HSL | hsl(229, 78%, 65%) |
| HSV | hsv(229, 60%, 92%) |
| CMYK | cmyk(60%, 48.5%, 0%, 7.8%) |
| CIE-LAB | lab(54.08, 24.34, -60.72) |
| CIE-LCH | lch(54.08, 65.42, 291.84°) |
| OKLab | oklab(61.32% 0.0016 -0.1737) |
| OKLCH | oklch(61.32% 0.174 270.5) |
| XYZ | xyz(26.4438, 22.0504, 81.4438) |
| Luminance | 0.2205 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.69
Lightish Blue
#3D7AFD
ΔE00 3.95
Cornflower Blue
#5170D7
ΔE00 4.39
Soft Blue
#6488EA
ΔE00 4.90
Clear Blue
#247AFD
ΔE00 5.57
Dodger Blue
#3E82FC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E79EB #EBD05E
analogous
#5EBFEB #5E79EB #8A5EEB
triadic
#5E79EB #EB5E79 #79EB5E
tetradic
#5E79EB #EB5EBF #EBD05E #5EEB8A
square
#5E79EB #EB5EBF #EBD05E #5EEB8A
split-complementary
#5E79EB #EB8A5E #BFEB5E
monochromatic
#1736B8 #284CE4 #5E79EB #94A6F2 #CBD4F9
Accessibility & contrast
On white
3.88
#5E79EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#5E79EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E79EB
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E79EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E79EB | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E88EF
Deuteranopia (green-blind)
#227BE9
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5e79eb; /* rgb */ color: rgb(94, 121, 235); /* oklch */ color: oklch(61.3% 0.174 270.5);
Tailwind
colors: {
custom: {
50: '#979ff2',
500: '#5e79eb',
950: '#000000',
},
}SCSS
$custom: #5e79eb; $custom-light: #979ff2; $custom-dark: #000000;
JSON
{
"hex": "#5e79eb",
"rgb": {
"r": 94,
"g": 121,
"b": 235
},
"hsl": {
"h": 228.511,
"s": 77.901,
"l": 64.51
},
"oklch": {
"l": 0.61318,
"c": 0.1737,
"h": 270.5
},
"luminance": 0.22053
}Semantic roles & 50–950 ramp
primary
#5E79EB
secondary
#EBE1BA
accent
#B30BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85