#5B5AEA#5B5AEA
#5B5AEA is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.4% C 0.211 H 277.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5AEA |
|---|---|
| RGB | rgb(91, 90, 234) |
| HSL | hsl(240, 77%, 64%) |
| HSV | hsv(240, 62%, 92%) |
| CMYK | cmyk(61.1%, 61.5%, 0%, 8.2%) |
| CIE-LAB | lab(46.28, 42.31, -72.80) |
| CIE-LCH | lch(46.28, 84.20, 300.16°) |
| OKLab | oklab(55.42% 0.0268 -0.2096) |
| OKLCH | oklch(55.42% 0.211 277.3) |
| XYZ | xyz(22.8170, 15.4752, 79.6106) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.29
Dark Periwinkle
#665FD1
ΔE00 3.77
Slate Blue
#6A5ACD
ΔE00 4.51
Light Indigo
#6D5ACF
ΔE00 4.56
Iris
#6258C4
ΔE00 5.36
Electric Blue
#0652FF
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5AEA #E9EA5A
analogous
#5AA1EA #5B5AEA #A35AEA
triadic
#5B5AEA #EA5B5A #5AEA5B
tetradic
#5B5AEA #EA5AA1 #E9EA5A #5AEAA3
square
#5B5AEA #EA5AA1 #E9EA5A #5AEAA3
split-complementary
#5B5AEA #EAA35A #A1EA5A
monochromatic
#1817B3 #2524E3 #5B5AEA #9190F1 #C7C7F8
Accessibility & contrast
On white
5.13
#5B5AEA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#5B5AEA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5AEA
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5AEA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5AEA | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5b5aea; /* rgb */ color: rgb(91, 90, 234); /* oklch */ color: oklch(55.4% 0.211 277.3);
Tailwind
colors: {
custom: {
50: '#9789f2',
500: '#5b5aea',
950: '#000000',
},
}SCSS
$custom: #5b5aea; $custom-light: #9789f2; $custom-dark: #000000;
JSON
{
"hex": "#5b5aea",
"rgb": {
"r": 91,
"g": 90,
"b": 234
},
"hsl": {
"h": 240.417,
"s": 77.419,
"l": 63.529
},
"oklch": {
"l": 0.55421,
"c": 0.21129,
"h": 277.3
},
"luminance": 0.15477
}Semantic roles & 50–950 ramp
primary
#5B5AEA
secondary
#E9E9B6
accent
#DA0CD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85