#5B79F0#5B79F0
#5B79F0 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.181 H 269.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5B79F0 |
|---|---|
| RGB | rgb(91, 121, 240) |
| HSL | hsl(228, 83%, 65%) |
| HSV | hsv(228, 62%, 94%) |
| CMYK | cmyk(62.1%, 49.6%, 0%, 5.9%) |
| CIE-LAB | lab(54.23, 25.48, -63.28) |
| CIE-LCH | lch(54.23, 68.22, 291.93°) |
| OKLab | oklab(61.48% -0.0008 -0.1813) |
| OKLCH | oklch(61.48% 0.181 269.7) |
| XYZ | xyz(26.8746, 22.1878, 85.2876) |
| Luminance | 0.2219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.69
Lightish Blue
#3D7AFD
ΔE00 3.42
Cornflower Blue
#5170D7
ΔE00 4.67
Soft Blue
#6488EA
ΔE00 4.86
Clear Blue
#247AFD
ΔE00 5.12
Dodger Blue
#3E82FC
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B79F0 #F0D25B
analogous
#5BC4F0 #5B79F0 #875BF0
triadic
#5B79F0 #F05B79 #79F05B
tetradic
#5B79F0 #F05BC4 #F0D25B #5BF087
square
#5B79F0 #F05BC4 #F0D25B #5BF087
split-complementary
#5B79F0 #F0875B #C4F05B
monochromatic
#1134BF #234BEB #5B79F0 #93A7F5 #CBD5FA
Accessibility & contrast
On white
3.86
#5B79F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#5B79F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B79F0
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B79F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B79F0 | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3789F4
Deuteranopia (green-blind)
#0E7BEE
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5b79f0; /* rgb */ color: rgb(91, 121, 240); /* oklch */ color: oklch(61.5% 0.181 269.7);
Tailwind
colors: {
custom: {
50: '#979ff6',
500: '#5b79f0',
950: '#000000',
},
}SCSS
$custom: #5b79f0; $custom-light: #979ff6; $custom-dark: #000000;
JSON
{
"hex": "#5b79f0",
"rgb": {
"r": 91,
"g": 121,
"b": 240
},
"hsl": {
"h": 227.919,
"s": 83.24,
"l": 64.902
},
"oklch": {
"l": 0.61484,
"c": 0.18129,
"h": 269.7
},
"luminance": 0.2219
}Semantic roles & 50–950 ramp
primary
#5B79F0
secondary
#EDE3BA
accent
#B406E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85