#5B73E6#5B73E6
#5B73E6 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.6% C 0.175 H 271.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5B73E6 |
|---|---|
| RGB | rgb(91, 115, 230) |
| HSL | hsl(230, 74%, 63%) |
| HSV | hsv(230, 60%, 90%) |
| CMYK | cmyk(60.4%, 50%, 0%, 9.8%) |
| CIE-LAB | lab(52.06, 25.82, -61.18) |
| CIE-LCH | lch(52.06, 66.41, 292.88°) |
| OKLab | oklab(59.64% 0.004 -0.1752) |
| OKLCH | oklch(59.64% 0.175 271.3) |
| XYZ | xyz(24.7233, 20.1968, 77.4431) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.83
Cornflower
#6A79F7
ΔE00 3.72
Royal Blue
#4169E1
ΔE00 4.52
Lightish Blue
#3D7AFD
ΔE00 4.94
Deep Sky Blue
#0D75F8
ΔE00 6.32
Clear Blue
#247AFD
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B73E6 #E6CE5B
analogous
#5BB9E6 #5B73E6 #885BE6
triadic
#5B73E6 #E65B73 #73E65B
tetradic
#5B73E6 #E65BB9 #E6CE5B #5BE688
square
#5B73E6 #E65BB9 #E6CE5B #5BE688
split-complementary
#5B73E6 #E6885B #B9E65B
monochromatic
#1A33AC #2646DE #5B73E6 #90A0EE #C5CEF6
Accessibility & contrast
On white
4.17
#5B73E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#5B73E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B73E6
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B73E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B73E6 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3483EA
Deuteranopia (green-blind)
#1176E4
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5b73e6; /* rgb */ color: rgb(91, 115, 230); /* oklch */ color: oklch(59.6% 0.175 271.3);
Tailwind
colors: {
custom: {
50: '#959bef',
500: '#5b73e6',
950: '#000000',
},
}SCSS
$custom: #5b73e6; $custom-light: #959bef; $custom-dark: #000000;
JSON
{
"hex": "#5b73e6",
"rgb": {
"r": 91,
"g": 115,
"b": 230
},
"hsl": {
"h": 229.64,
"s": 73.545,
"l": 62.941
},
"oklch": {
"l": 0.59642,
"c": 0.17522,
"h": 271.3
},
"luminance": 0.20199
}Semantic roles & 50–950 ramp
primary
#5B73E6
secondary
#E7DFB5
accent
#B310D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84