#5B5EE9#5B5EE9
#5B5EE9 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.0% C 0.205 H 276.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5EE9 |
|---|---|
| RGB | rgb(91, 94, 233) |
| HSL | hsl(239, 76%, 64%) |
| HSV | hsv(239, 61%, 91%) |
| CMYK | cmyk(60.9%, 59.7%, 0%, 8.6%) |
| CIE-LAB | lab(47.12, 39.60, -70.87) |
| CIE-LCH | lch(47.12, 81.18, 299.20°) |
| OKLab | oklab(56.02% 0.0235 -0.2039) |
| OKLCH | oklch(56.02% 0.205 276.6) |
| XYZ | xyz(23.0203, 16.1109, 78.9716) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.54
Warm Blue
#4B57DB
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 4.76
Light Indigo
#6D5ACF
ΔE00 4.83
Iris
#6258C4
ΔE00 5.63
Azul
#1D5DEC
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5EE9 #E9E65B
analogous
#5BA5E9 #5B5EE9 #9F5BE9
triadic
#5B5EE9 #E95B5E #5EE95B
tetradic
#5B5EE9 #E95BA5 #E9E65B #5BE99F
square
#5B5EE9 #E95BA5 #E9E65B #5BE99F
split-complementary
#5B5EE9 #E99F5B #A5E95B
monochromatic
#181BB2 #2529E2 #5B5EE9 #9193F0 #C7C8F7
Accessibility & contrast
On white
4.97
#5B5EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#5B5EE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5EE9
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5EE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5EE9 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5b5ee9; /* rgb */ color: rgb(91, 94, 233); /* oklch */ color: oklch(56.0% 0.205 276.6);
Tailwind
colors: {
custom: {
50: '#978cf1',
500: '#5b5ee9',
950: '#000000',
},
}SCSS
$custom: #5b5ee9; $custom-light: #978cf1; $custom-dark: #000000;
JSON
{
"hex": "#5b5ee9",
"rgb": {
"r": 91,
"g": 94,
"b": 233
},
"hsl": {
"h": 238.732,
"s": 76.344,
"l": 63.529
},
"oklch": {
"l": 0.56015,
"c": 0.20521,
"h": 276.6
},
"luminance": 0.16113
}Semantic roles & 50–950 ramp
primary
#5B5EE9
secondary
#E9E8B7
accent
#D40DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85