#5B61E7#5B61E7
#5B61E7 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.4% C 0.199 H 276.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5B61E7 |
|---|---|
| RGB | rgb(91, 97, 231) |
| HSL | hsl(237, 74%, 63%) |
| HSV | hsv(237, 61%, 91%) |
| CMYK | cmyk(60.6%, 58%, 0%, 9.4%) |
| CIE-LAB | lab(47.68, 37.15, -68.83) |
| CIE-LCH | lch(47.68, 78.22, 298.35°) |
| OKLab | oklab(56.38% 0.0209 -0.1979) |
| OKLCH | oklch(56.38% 0.199 276) |
| XYZ | xyz(23.0082, 16.5413, 77.5661) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.51
Warm Blue
#4B57DB
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 5.04
Royal Blue
#4169E1
ΔE00 5.12
Light Indigo
#6D5ACF
ΔE00 5.15
Mediumslateblue
#7B68EE
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B61E7 #E7E15B
analogous
#5BA7E7 #5B61E7 #9B5BE7
triadic
#5B61E7 #E75B61 #61E75B
tetradic
#5B61E7 #E75BA7 #E7E15B #5BE79B
square
#5B61E7 #E75BA7 #E7E15B #5BE79B
split-complementary
#5B61E7 #E79B5B #A7E75B
monochromatic
#1920AE #262EDF #5B61E7 #9094EF #C6C8F7
Accessibility & contrast
On white
4.87
#5B61E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#5B61E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B61E7
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B61E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B61E7 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#00819B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5b61e7; /* rgb */ color: rgb(91, 97, 231); /* oklch */ color: oklch(56.4% 0.199 276.0);
Tailwind
colors: {
custom: {
50: '#968ef0',
500: '#5b61e7',
950: '#000000',
},
}SCSS
$custom: #5b61e7; $custom-light: #968ef0; $custom-dark: #000000;
JSON
{
"hex": "#5b61e7",
"rgb": {
"r": 91,
"g": 97,
"b": 231
},
"hsl": {
"h": 237.429,
"s": 74.468,
"l": 63.137
},
"oklch": {
"l": 0.56381,
"c": 0.19897,
"h": 276
},
"luminance": 0.16543
}Semantic roles & 50–950 ramp
primary
#5B61E7
secondary
#E8E6B6
accent
#CE0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85