#5E79CE#5E79CE
#5E79CE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.5% C 0.134 H 268.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5E79CE |
|---|---|
| RGB | rgb(94, 121, 206) |
| HSL | hsl(226, 53%, 59%) |
| HSV | hsv(226, 54%, 81%) |
| CMYK | cmyk(54.4%, 41.3%, 0%, 19.2%) |
| CIE-LAB | lab(52.41, 14.86, -47.06) |
| CIE-LCH | lch(52.41, 49.35, 287.52°) |
| OKLab | oklab(59.5% -0.0028 -0.1336) |
| OKLCH | oklch(59.5% 0.134 268.8) |
| XYZ | xyz(22.5904, 20.5090, 61.1488) |
| Luminance | 0.2051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.44
Cornflower
#6A79F7
ΔE00 5.94
Lightish Blue
#3D7AFD
ΔE00 5.98
Soft Blue
#6488EA
ΔE00 6.01
Royal Blue
#4169E1
ΔE00 6.23
Clear Blue
#247AFD
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E79CE #CEB35E
analogous
#5EB1CE #5E79CE #7B5ECE
triadic
#5E79CE #CE5E79 #79CE5E
tetradic
#5E79CE #CE5EB1 #CEB35E #5ECE7B
square
#5E79CE #CE5EB1 #CEB35E #5ECE7B
split-complementary
#5E79CE #CE7B5E #B1CE5E
monochromatic
#294088 #3856B7 #5E79CE #8DA0DC #BCC7EB
Accessibility & contrast
On white
4.12
#5E79CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#5E79CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E79CE
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E79CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E79CE | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#218C99
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #5e79ce; /* rgb */ color: rgb(94, 121, 206); /* oklch */ color: oklch(59.5% 0.134 268.8);
Tailwind
colors: {
custom: {
50: '#939fdd',
500: '#5e79ce',
950: '#000000',
},
}SCSS
$custom: #5e79ce; $custom-light: #939fdd; $custom-dark: #000000;
JSON
{
"hex": "#5e79ce",
"rgb": {
"r": 94,
"g": 121,
"b": 206
},
"hsl": {
"h": 225.536,
"s": 53.333,
"l": 58.824
},
"oklch": {
"l": 0.595,
"c": 0.13361,
"h": 268.8
},
"luminance": 0.20511
}Semantic roles & 50–950 ramp
primary
#5E79CE
secondary
#DACFAE
accent
#BA4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83