#5A5BE3#5A5BE3
#5A5BE3 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.0% C 0.201 H 277.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5BE3 |
|---|---|
| RGB | rgb(90, 91, 227) |
| HSL | hsl(240, 71%, 62%) |
| HSV | hsv(240, 60%, 89%) |
| CMYK | cmyk(60.4%, 59.9%, 0%, 11%) |
| CIE-LAB | lab(45.91, 39.31, -69.45) |
| CIE-LCH | lch(45.91, 79.81, 299.51°) |
| OKLab | oklab(54.96% 0.0251 -0.1998) |
| OKLCH | oklch(54.96% 0.201 277.2) |
| XYZ | xyz(21.8182, 15.2002, 74.4423) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.66
Dark Periwinkle
#665FD1
ΔE00 3.10
Slate Blue
#6A5ACD
ΔE00 3.99
Light Indigo
#6D5ACF
ΔE00 4.16
Iris
#6258C4
ΔE00 4.62
Electric Blue
#0652FF
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5BE3 #E3E25A
analogous
#5AA0E3 #5A5BE3 #9E5AE3
triadic
#5A5BE3 #E35A5B #5BE35A
tetradic
#5A5BE3 #E35AA0 #E3E25A #5AE39E
square
#5A5BE3 #E35AA0 #E3E25A #5AE39E
split-complementary
#5A5BE3 #E39E5A #A0E35A
monochromatic
#1C1DA6 #2627DA #5A5BE3 #8E8FEC #C3C3F5
Accessibility & contrast
On white
5.20
#5A5BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#5A5BE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5BE3
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5BE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5BE3 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a5be3; /* rgb */ color: rgb(90, 91, 227); /* oklch */ color: oklch(55.0% 0.201 277.2);
Tailwind
colors: {
custom: {
50: '#9689ed',
500: '#5a5be3',
950: '#000000',
},
}SCSS
$custom: #5a5be3; $custom-light: #9689ed; $custom-dark: #000000;
JSON
{
"hex": "#5a5be3",
"rgb": {
"r": 90,
"g": 91,
"b": 227
},
"hsl": {
"h": 239.562,
"s": 70.984,
"l": 62.157
},
"oklch": {
"l": 0.54964,
"c": 0.20134,
"h": 277.2
},
"luminance": 0.15202
}Semantic roles & 50–950 ramp
primary
#5A5BE3
secondary
#E6E5B3
accent
#D212D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84