#5B5CE3#5B5CE3
#5B5CE3 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.2% C 0.200 H 277.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CE3 |
|---|---|
| RGB | rgb(91, 92, 227) |
| HSL | hsl(240, 71%, 62%) |
| HSV | hsv(240, 60%, 89%) |
| CMYK | cmyk(59.9%, 59.5%, 0%, 11%) |
| CIE-LAB | lab(46.21, 38.87, -68.96) |
| CIE-LCH | lch(46.21, 79.16, 299.41°) |
| OKLab | oklab(55.2% 0.0254 -0.1983) |
| OKLCH | oklch(55.2% 0.2 277.3) |
| XYZ | xyz(22.0022, 15.4228, 74.4756) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.89
Dark Periwinkle
#665FD1
ΔE00 2.96
Slate Blue
#6A5ACD
ΔE00 3.99
Light Indigo
#6D5ACF
ΔE00 4.14
Iris
#6258C4
ΔE00 4.69
Azul
#1D5DEC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CE3 #E3E25B
analogous
#5BA0E3 #5B5CE3 #9E5BE3
triadic
#5B5CE3 #E35B5C #5CE35B
tetradic
#5B5CE3 #E35BA0 #E3E25B #5BE39E
square
#5B5CE3 #E35BA0 #E3E25B #5BE39E
split-complementary
#5B5CE3 #E39E5B #A0E35B
monochromatic
#1D1EA7 #2728DA #5B5CE3 #8F90EC #C4C4F5
Accessibility & contrast
On white
5.14
#5B5CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#5B5CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CE3
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CE3 | 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)
#0073E7
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b5ce3; /* rgb */ color: rgb(91, 92, 227); /* oklch */ color: oklch(55.2% 0.200 277.3);
Tailwind
colors: {
custom: {
50: '#968aed',
500: '#5b5ce3',
950: '#000000',
},
}SCSS
$custom: #5b5ce3; $custom-light: #968aed; $custom-dark: #000000;
JSON
{
"hex": "#5b5ce3",
"rgb": {
"r": 91,
"g": 92,
"b": 227
},
"hsl": {
"h": 239.559,
"s": 70.833,
"l": 62.353
},
"oklch": {
"l": 0.55203,
"c": 0.19991,
"h": 277.3
},
"luminance": 0.15424
}Semantic roles & 50–950 ramp
primary
#5B5CE3
secondary
#E6E5B4
accent
#D113D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84