#5B79F6#5B79F6
#5B79F6 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.189 H 269.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5B79F6 |
|---|---|
| RGB | rgb(91, 121, 246) |
| HSL | hsl(228, 90%, 66%) |
| HSV | hsv(228, 63%, 96%) |
| CMYK | cmyk(63%, 50.8%, 0%, 3.5%) |
| CIE-LAB | lab(54.61, 27.49, -66.00) |
| CIE-LCH | lch(54.61, 71.50, 292.61°) |
| OKLab | oklab(61.89% -0.0002 -0.1893) |
| OKLCH | oklch(61.89% 0.189 269.9) |
| XYZ | xyz(27.7807, 22.5503, 90.0595) |
| Luminance | 0.2255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.34
Lightish Blue
#3D7AFD
ΔE00 3.42
Soft Blue
#6488EA
ΔE00 4.98
Clear Blue
#247AFD
ΔE00 5.23
Dodger Blue
#3E82FC
ΔE00 5.24
Cornflower Blue
#5170D7
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B79F6 #F6D85B
analogous
#5BC6F6 #5B79F6 #8A5BF6
triadic
#5B79F6 #F65B79 #79F65B
tetradic
#5B79F6 #F65BC6 #F6D85B #5BF68A
square
#5B79F6 #F65BC6 #F6D85B #5BF68A
split-complementary
#5B79F6 #F68A5B #C6F65B
monochromatic
#0B30CB #214AF3 #5B79F6 #95A8F9 #CFD8FC
Accessibility & contrast
On white
3.81
#5B79F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#5B79F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B79F6
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B79F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B79F6 | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F8AFA
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5b79f6; /* rgb */ color: rgb(91, 121, 246); /* oklch */ color: oklch(61.9% 0.189 269.9);
Tailwind
colors: {
custom: {
50: '#989ffa',
500: '#5b79f6',
950: '#000000',
},
}SCSS
$custom: #5b79f6; $custom-light: #989ffa; $custom-dark: #000000;
JSON
{
"hex": "#5b79f6",
"rgb": {
"r": 91,
"g": 121,
"b": 246
},
"hsl": {
"h": 228.387,
"s": 89.595,
"l": 66.078
},
"oklch": {
"l": 0.61893,
"c": 0.18929,
"h": 269.9
},
"luminance": 0.22553
}Semantic roles & 50–950 ramp
primary
#5B79F6
secondary
#F0E6BD
accent
#B900E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85