#5B61E5#5B61E5
#5B61E5 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.2% C 0.196 H 276.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5B61E5 |
|---|---|
| RGB | rgb(91, 97, 229) |
| HSL | hsl(237, 73%, 63%) |
| HSV | hsv(237, 60%, 90%) |
| CMYK | cmyk(60.3%, 57.6%, 0%, 10.2%) |
| CIE-LAB | lab(47.53, 36.50, -67.94) |
| CIE-LCH | lch(47.53, 77.12, 298.24°) |
| OKLab | oklab(56.23% 0.0209 -0.1952) |
| OKLCH | oklch(56.23% 0.196 276.1) |
| XYZ | xyz(22.7273, 16.4289, 76.0870) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.31
Warm Blue
#4B57DB
ΔE00 3.96
Slate Blue
#6A5ACD
ΔE00 4.88
Light Indigo
#6D5ACF
ΔE00 5.01
Royal Blue
#4169E1
ΔE00 5.07
Azul
#1D5DEC
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B61E5 #E5DF5B
analogous
#5BA6E5 #5B61E5 #9A5BE5
triadic
#5B61E5 #E55B61 #61E55B
tetradic
#5B61E5 #E55BA6 #E5DF5B #5BE59A
square
#5B61E5 #E55BA6 #E5DF5B #5BE59A
split-complementary
#5B61E5 #E59A5B #A6E55B
monochromatic
#1B21AB #262EDD #5B61E5 #9094ED #C5C7F6
Accessibility & contrast
On white
4.90
#5B61E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5B61E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B61E5
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B61E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B61E5 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5b61e5; /* rgb */ color: rgb(91, 97, 229); /* oklch */ color: oklch(56.2% 0.196 276.1);
Tailwind
colors: {
custom: {
50: '#968eee',
500: '#5b61e5',
950: '#000000',
},
}SCSS
$custom: #5b61e5; $custom-light: #968eee; $custom-dark: #000000;
JSON
{
"hex": "#5b61e5",
"rgb": {
"r": 91,
"g": 97,
"b": 229
},
"hsl": {
"h": 237.391,
"s": 72.632,
"l": 62.745
},
"oklch": {
"l": 0.56228,
"c": 0.19636,
"h": 276.1
},
"luminance": 0.16431
}Semantic roles & 50–950 ramp
primary
#5B61E5
secondary
#E7E5B5
accent
#CC11D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84