#5B5DE3#5B5DE3
#5B5DE3 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.4% C 0.199 H 277.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5DE3 |
|---|---|
| RGB | rgb(91, 93, 227) |
| HSL | hsl(239, 71%, 62%) |
| HSV | hsv(239, 60%, 89%) |
| CMYK | cmyk(59.9%, 59%, 0%, 11%) |
| CIE-LAB | lab(46.44, 38.27, -68.58) |
| CIE-LCH | lch(46.44, 78.54, 299.16°) |
| OKLab | oklab(55.38% 0.0245 -0.1972) |
| OKLCH | oklch(55.38% 0.199 277.1) |
| XYZ | xyz(22.0894, 15.5972, 74.5047) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.93
Warm Blue
#4B57DB
ΔE00 3.04
Slate Blue
#6A5ACD
ΔE00 4.09
Light Indigo
#6D5ACF
ΔE00 4.25
Iris
#6258C4
ΔE00 4.81
Azul
#1D5DEC
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5DE3 #E3E15B
analogous
#5BA1E3 #5B5DE3 #9D5BE3
triadic
#5B5DE3 #E35B5D #5DE35B
tetradic
#5B5DE3 #E35BA1 #E3E15B #5BE39D
square
#5B5DE3 #E35BA1 #E3E15B #5BE39D
split-complementary
#5B5DE3 #E39D5B #A1E35B
monochromatic
#1D1FA7 #2729DA #5B5DE3 #8F91EC #C4C4F5
Accessibility & contrast
On white
5.10
#5B5DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#5B5DE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5DE3
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5DE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5DE3 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5b5de3; /* rgb */ color: rgb(91, 93, 227); /* oklch */ color: oklch(55.4% 0.199 277.1);
Tailwind
colors: {
custom: {
50: '#968bed',
500: '#5b5de3',
950: '#000000',
},
}SCSS
$custom: #5b5de3; $custom-light: #968bed; $custom-dark: #000000;
JSON
{
"hex": "#5b5de3",
"rgb": {
"r": 91,
"g": 93,
"b": 227
},
"hsl": {
"h": 239.118,
"s": 70.833,
"l": 62.353
},
"oklch": {
"l": 0.55375,
"c": 0.19869,
"h": 277.1
},
"luminance": 0.15599
}Semantic roles & 50–950 ramp
primary
#5B5DE3
secondary
#E6E5B4
accent
#D013D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84