#5B5BE9#5B5BE9
#5B5BE9 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.5% C 0.209 H 277.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BE9 |
|---|---|
| RGB | rgb(91, 91, 233) |
| HSL | hsl(240, 76%, 64%) |
| HSV | hsv(240, 61%, 91%) |
| CMYK | cmyk(60.9%, 60.9%, 0%, 8.6%) |
| CIE-LAB | lab(46.43, 41.39, -71.99) |
| CIE-LCH | lch(46.43, 83.04, 299.90°) |
| OKLab | oklab(55.51% 0.026 -0.2072) |
| OKLCH | oklch(55.51% 0.209 277.2) |
| XYZ | xyz(22.7587, 15.5877, 78.8844) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.28
Dark Periwinkle
#665FD1
ΔE00 3.60
Slate Blue
#6A5ACD
ΔE00 4.47
Light Indigo
#6D5ACF
ΔE00 4.54
Iris
#6258C4
ΔE00 5.31
Electric Blue
#0652FF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BE9 #E9E95B
analogous
#5BA2E9 #5B5BE9 #A25BE9
triadic
#5B5BE9 #E95B5B #5BE95B
tetradic
#5B5BE9 #E95BA2 #E9E95B #5BE9A2
square
#5B5BE9 #E95BA2 #E9E95B #5BE9A2
split-complementary
#5B5BE9 #E9A25B #A2E95B
monochromatic
#1818B2 #2525E2 #5B5BE9 #9191F0 #C7C7F7
Accessibility & contrast
On white
5.10
#5B5BE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#5B5BE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BE9
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BE9 | 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)
#0074EE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5b5be9; /* rgb */ color: rgb(91, 91, 233); /* oklch */ color: oklch(55.5% 0.209 277.2);
Tailwind
colors: {
custom: {
50: '#978af1',
500: '#5b5be9',
950: '#000000',
},
}SCSS
$custom: #5b5be9; $custom-light: #978af1; $custom-dark: #000000;
JSON
{
"hex": "#5b5be9",
"rgb": {
"r": 91,
"g": 91,
"b": 233
},
"hsl": {
"h": 240,
"s": 76.344,
"l": 63.529
},
"oklch": {
"l": 0.55507,
"c": 0.20883,
"h": 277.2
},
"luminance": 0.1559
}Semantic roles & 50–950 ramp
primary
#5B5BE9
secondary
#E9E9B7
accent
#D90DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85