#5D79EB#5D79EB
#5D79EB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.174 H 270.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5D79EB |
|---|---|
| RGB | rgb(93, 121, 235) |
| HSL | hsl(228, 78%, 64%) |
| HSV | hsv(228, 60%, 92%) |
| CMYK | cmyk(60.4%, 48.5%, 0%, 7.8%) |
| CIE-LAB | lab(54.02, 24.16, -60.81) |
| CIE-LCH | lch(54.02, 65.44, 291.67°) |
| OKLab | oklab(61.26% 0.0006 -0.174) |
| OKLCH | oklch(61.26% 0.174 270.2) |
| XYZ | xyz(26.3419, 21.9979, 81.4390) |
| Luminance | 0.2200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.82
Lightish Blue
#3D7AFD
ΔE00 3.81
Cornflower Blue
#5170D7
ΔE00 4.33
Soft Blue
#6488EA
ΔE00 4.87
Clear Blue
#247AFD
ΔE00 5.42
Dodger Blue
#3E82FC
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D79EB #EBCF5D
analogous
#5DC0EB #5D79EB #885DEB
triadic
#5D79EB #EB5D79 #79EB5D
tetradic
#5D79EB #EB5DC0 #EBCF5D #5DEB88
square
#5D79EB #EB5DC0 #EBCF5D #5DEB88
split-complementary
#5D79EB #EB885D #C0EB5D
monochromatic
#1736B7 #274CE4 #5D79EB #93A6F2 #CAD3F8
Accessibility & contrast
On white
3.89
#5D79EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#5D79EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D79EB
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D79EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D79EB | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E88EF
Deuteranopia (green-blind)
#217BE9
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5d79eb; /* rgb */ color: rgb(93, 121, 235); /* oklch */ color: oklch(61.3% 0.174 270.2);
Tailwind
colors: {
custom: {
50: '#979ff2',
500: '#5d79eb',
950: '#000000',
},
}SCSS
$custom: #5d79eb; $custom-light: #979ff2; $custom-dark: #000000;
JSON
{
"hex": "#5d79eb",
"rgb": {
"r": 93,
"g": 121,
"b": 235
},
"hsl": {
"h": 228.169,
"s": 78.022,
"l": 64.314
},
"oklch": {
"l": 0.61261,
"c": 0.17398,
"h": 270.2
},
"luminance": 0.22
}Semantic roles & 50–950 ramp
primary
#5D79EB
secondary
#EBE1B9
accent
#B10BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85