#5E79D2#5E79D2
#5E79D2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.7% C 0.139 H 269.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5E79D2 |
|---|---|
| RGB | rgb(94, 121, 210) |
| HSL | hsl(226, 56%, 60%) |
| HSV | hsv(226, 55%, 82%) |
| CMYK | cmyk(55.2%, 42.4%, 0%, 17.6%) |
| CIE-LAB | lab(52.63, 16.15, -48.99) |
| CIE-LCH | lch(52.63, 51.58, 288.24°) |
| OKLab | oklab(59.74% -0.002 -0.1392) |
| OKLCH | oklch(59.74% 0.139 269.2) |
| XYZ | xyz(23.0825, 20.7059, 63.7405) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.34
Cornflower
#6A79F7
ΔE00 5.46
Lightish Blue
#3D7AFD
ΔE00 5.60
Soft Blue
#6488EA
ΔE00 5.74
Royal Blue
#4169E1
ΔE00 6.10
Clear Blue
#247AFD
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E79D2 #D2B75E
analogous
#5EB3D2 #5E79D2 #7D5ED2
triadic
#5E79D2 #D25E79 #79D25E
tetradic
#5E79D2 #D25EB3 #D2B75E #5ED27D
square
#5E79D2 #D25EB3 #D2B75E #5ED27D
split-complementary
#5E79D2 #D27D5E #B3D25E
monochromatic
#283F8E #3555BE #5E79D2 #8EA1DF #BEC9ED
Accessibility & contrast
On white
4.08
#5E79D2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#5E79D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E79D2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E79D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E79D2 | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5383D5
Deuteranopia (green-blind)
#4579D0
Tritanopia (blue-blind)
#1A8D9B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5e79d2; /* rgb */ color: rgb(94, 121, 210); /* oklch */ color: oklch(59.7% 0.139 269.2);
Tailwind
colors: {
custom: {
50: '#949fe0',
500: '#5e79d2',
950: '#000000',
},
}SCSS
$custom: #5e79d2; $custom-light: #949fe0; $custom-dark: #000000;
JSON
{
"hex": "#5e79d2",
"rgb": {
"r": 94,
"g": 121,
"b": 210
},
"hsl": {
"h": 226.034,
"s": 56.311,
"l": 59.608
},
"oklch": {
"l": 0.59739,
"c": 0.13923,
"h": 269.2
},
"luminance": 0.20708
}Semantic roles & 50–950 ramp
primary
#5E79D2
secondary
#DCD2AF
accent
#BC48E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83