#5B79EF#5B79EF
#5B79EF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.180 H 269.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5B79EF |
|---|---|
| RGB | rgb(91, 121, 239) |
| HSL | hsl(228, 82%, 65%) |
| HSV | hsv(228, 62%, 94%) |
| CMYK | cmyk(61.9%, 49.4%, 0%, 6.3%) |
| CIE-LAB | lab(54.16, 25.14, -62.83) |
| CIE-LCH | lch(54.16, 67.67, 291.81°) |
| OKLab | oklab(61.42% -0.0009 -0.1799) |
| OKLCH | oklch(61.42% 0.18 269.7) |
| XYZ | xyz(26.7265, 22.1286, 84.5074) |
| Luminance | 0.2213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.77
Lightish Blue
#3D7AFD
ΔE00 3.43
Cornflower Blue
#5170D7
ΔE00 4.58
Soft Blue
#6488EA
ΔE00 4.85
Clear Blue
#247AFD
ΔE00 5.12
Dodger Blue
#3E82FC
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B79EF #EFD15B
analogous
#5BC3EF #5B79EF #875BEF
triadic
#5B79EF #EF5B79 #79EF5B
tetradic
#5B79EF #EF5BC3 #EFD15B #5BEF87
square
#5B79EF #EF5BC3 #EFD15B #5BEF87
split-complementary
#5B79EF #EF875B #C3EF5B
monochromatic
#1235BD #234BEA #5B79EF #93A7F4 #CBD4FA
Accessibility & contrast
On white
3.87
#5B79EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#5B79EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B79EF
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B79EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B79EF | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3988F3
Deuteranopia (green-blind)
#127BED
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5b79ef; /* rgb */ color: rgb(91, 121, 239); /* oklch */ color: oklch(61.4% 0.180 269.7);
Tailwind
colors: {
custom: {
50: '#969ff5',
500: '#5b79ef',
950: '#000000',
},
}SCSS
$custom: #5b79ef; $custom-light: #969ff5; $custom-dark: #000000;
JSON
{
"hex": "#5b79ef",
"rgb": {
"r": 91,
"g": 121,
"b": 239
},
"hsl": {
"h": 227.838,
"s": 82.222,
"l": 64.706
},
"oklch": {
"l": 0.61416,
"c": 0.17995,
"h": 269.7
},
"luminance": 0.22131
}Semantic roles & 50–950 ramp
primary
#5B79EF
secondary
#ECE2BA
accent
#B307DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85