#5B5AE9#5B5AE9
#5B5AE9 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.3% C 0.210 H 277.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5AE9 |
|---|---|
| RGB | rgb(91, 90, 233) |
| HSL | hsl(240, 76%, 63%) |
| HSV | hsv(240, 61%, 91%) |
| CMYK | cmyk(60.9%, 61.4%, 0%, 8.6%) |
| CIE-LAB | lab(46.20, 41.99, -72.36) |
| CIE-LCH | lch(46.20, 83.66, 300.12°) |
| OKLab | oklab(55.34% 0.0269 -0.2083) |
| OKLCH | oklch(55.34% 0.21 277.4) |
| XYZ | xyz(22.6738, 15.4179, 78.8561) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.20
Dark Periwinkle
#665FD1
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 4.41
Light Indigo
#6D5ACF
ΔE00 4.48
Iris
#6258C4
ΔE00 5.24
Electric Blue
#0652FF
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5AE9 #E8E95A
analogous
#5AA0E9 #5B5AE9 #A35AE9
triadic
#5B5AE9 #E95B5A #5AE95B
tetradic
#5B5AE9 #E95AA0 #E8E95A #5AE9A3
square
#5B5AE9 #E95AA0 #E8E95A #5AE9A3
split-complementary
#5B5AE9 #E9A35A #A0E95A
monochromatic
#1918B1 #2524E2 #5B5AE9 #9190F0 #C6C6F7
Accessibility & contrast
On white
5.14
#5B5AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#5B5AE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5AE9
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5AE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5AE9 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b5ae9; /* rgb */ color: rgb(91, 90, 233); /* oklch */ color: oklch(55.3% 0.210 277.4);
Tailwind
colors: {
custom: {
50: '#9789f1',
500: '#5b5ae9',
950: '#000000',
},
}SCSS
$custom: #5b5ae9; $custom-light: #9789f1; $custom-dark: #000000;
JSON
{
"hex": "#5b5ae9",
"rgb": {
"r": 91,
"g": 90,
"b": 233
},
"hsl": {
"h": 240.42,
"s": 76.471,
"l": 63.333
},
"oklch": {
"l": 0.5534,
"c": 0.21002,
"h": 277.4
},
"luminance": 0.1542
}Semantic roles & 50–950 ramp
primary
#5B5AE9
secondary
#E9E9B6
accent
#D90DD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85