#5B5DE4#5B5DE4
#5B5DE4 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.5% C 0.200 H 277.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5DE4 |
|---|---|
| RGB | rgb(91, 93, 228) |
| HSL | hsl(239, 72%, 63%) |
| HSV | hsv(239, 60%, 89%) |
| CMYK | cmyk(60.1%, 59.2%, 0%, 10.6%) |
| CIE-LAB | lab(46.52, 38.59, -69.03) |
| CIE-LCH | lch(46.52, 79.08, 299.21°) |
| OKLab | oklab(55.45% 0.0245 -0.1985) |
| OKLCH | oklch(55.45% 0.2 277) |
| XYZ | xyz(22.2278, 15.6526, 75.2337) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 3.11
Slate Blue
#6A5ACD
ΔE00 4.18
Light Indigo
#6D5ACF
ΔE00 4.32
Iris
#6258C4
ΔE00 4.93
Azul
#1D5DEC
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5DE4 #E4E25B
analogous
#5BA2E4 #5B5DE4 #9D5BE4
triadic
#5B5DE4 #E45B5D #5DE45B
tetradic
#5B5DE4 #E45BA2 #E4E25B #5BE49D
square
#5B5DE4 #E45BA2 #E4E25B #5BE49D
split-complementary
#5B5DE4 #E49D5B #A2E45B
monochromatic
#1C1EA9 #2629DB #5B5DE4 #9091ED #C4C5F5
Accessibility & contrast
On white
5.08
#5B5DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#5B5DE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5DE4
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5DE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5DE4 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5b5de4; /* rgb */ color: rgb(91, 93, 228); /* oklch */ color: oklch(55.5% 0.200 277.0);
Tailwind
colors: {
custom: {
50: '#968bed',
500: '#5b5de4',
950: '#000000',
},
}SCSS
$custom: #5b5de4; $custom-light: #968bed; $custom-dark: #000000;
JSON
{
"hex": "#5b5de4",
"rgb": {
"r": 91,
"g": 93,
"b": 228
},
"hsl": {
"h": 239.124,
"s": 71.728,
"l": 62.549
},
"oklch": {
"l": 0.55453,
"c": 0.19998,
"h": 277
},
"luminance": 0.15654
}Semantic roles & 50–950 ramp
primary
#5B5DE4
secondary
#E6E6B4
accent
#D112D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84