#5B5AE6#5B5AE6
#5B5AE6 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.1% C 0.206 H 277.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5AE6 |
|---|---|
| RGB | rgb(91, 90, 230) |
| HSL | hsl(240, 74%, 63%) |
| HSV | hsv(240, 61%, 90%) |
| CMYK | cmyk(60.4%, 60.9%, 0%, 9.8%) |
| CIE-LAB | lab(45.97, 41.03, -71.04) |
| CIE-LCH | lch(45.97, 82.04, 300.01°) |
| OKLab | oklab(55.1% 0.027 -0.2044) |
| OKLCH | oklch(55.1% 0.206 277.5) |
| XYZ | xyz(22.2489, 15.2479, 76.6183) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.93
Dark Periwinkle
#665FD1
ΔE00 3.39
Slate Blue
#6A5ACD
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 4.23
Iris
#6258C4
ΔE00 4.87
Electric Blue
#0652FF
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5AE6 #E5E65A
analogous
#5A9FE6 #5B5AE6 #A15AE6
triadic
#5B5AE6 #E65B5A #5AE65B
tetradic
#5B5AE6 #E65A9F #E5E65A #5AE6A1
square
#5B5AE6 #E65A9F #E5E65A #5AE6A1
split-complementary
#5B5AE6 #E6A15A #9FE65A
monochromatic
#1B1AAC #2625DE #5B5AE6 #908FEE #C5C4F6
Accessibility & contrast
On white
5.19
#5B5AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#5B5AE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5AE6
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5AE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5AE6 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b5ae6; /* rgb */ color: rgb(91, 90, 230); /* oklch */ color: oklch(55.1% 0.206 277.5);
Tailwind
colors: {
custom: {
50: '#9789ef',
500: '#5b5ae6',
950: '#000000',
},
}SCSS
$custom: #5b5ae6; $custom-light: #9789ef; $custom-dark: #000000;
JSON
{
"hex": "#5b5ae6",
"rgb": {
"r": 91,
"g": 90,
"b": 230
},
"hsl": {
"h": 240.429,
"s": 73.684,
"l": 62.745
},
"oklch": {
"l": 0.551,
"c": 0.2062,
"h": 277.5
},
"luminance": 0.1525
}Semantic roles & 50–950 ramp
primary
#5B5AE6
secondary
#E7E7B5
accent
#D610D4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85