#5B79DF#5B79DF
#5B79DF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.4% C 0.158 H 269.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5B79DF |
|---|---|
| RGB | rgb(91, 121, 223) |
| HSL | hsl(226, 67%, 62%) |
| HSV | hsv(226, 59%, 87%) |
| CMYK | cmyk(59.2%, 45.7%, 0%, 12.5%) |
| CIE-LAB | lab(53.19, 19.81, -55.43) |
| CIE-LCH | lch(53.19, 58.86, 289.67°) |
| OKLab | oklab(60.37% -0.0029 -0.1582) |
| OKLCH | oklch(60.37% 0.158 269) |
| XYZ | xyz(24.4666, 21.2246, 72.6052) |
| Luminance | 0.2123 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.40
Lightish Blue
#3D7AFD
ΔE00 4.19
Cornflower
#6A79F7
ΔE00 4.29
Soft Blue
#6488EA
ΔE00 5.06
Clear Blue
#247AFD
ΔE00 5.39
Dodger Blue
#3E82FC
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B79DF #DFC15B
analogous
#5BBBDF #5B79DF #7F5BDF
triadic
#5B79DF #DF5B79 #79DF5B
tetradic
#5B79DF #DF5BBB #DFC15B #5BDF7F
square
#5B79DF #DF5BBB #DFC15B #5BDF7F
split-complementary
#5B79DF #DF7F5B #BBDF5B
monochromatic
#1F3DA0 #2950D4 #5B79DF #8EA3E9 #C1CDF3
Accessibility & contrast
On white
4.00
#5B79DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#5B79DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B79DF
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B79DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B79DF | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4985E3
Deuteranopia (green-blind)
#3479DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5b79df; /* rgb */ color: rgb(91, 121, 223); /* oklch */ color: oklch(60.4% 0.158 269.0);
Tailwind
colors: {
custom: {
50: '#949fe9',
500: '#5b79df',
950: '#000000',
},
}SCSS
$custom: #5b79df; $custom-light: #949fe9; $custom-dark: #000000;
JSON
{
"hex": "#5b79df",
"rgb": {
"r": 91,
"g": 121,
"b": 223
},
"hsl": {
"h": 226.364,
"s": 67.347,
"l": 61.569
},
"oklch": {
"l": 0.60368,
"c": 0.15822,
"h": 269
},
"luminance": 0.21227
}Semantic roles & 50–950 ramp
primary
#5B79DF
secondary
#E3D8B2
accent
#A516CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84