#5B5EE3#5B5EE3
#5B5EE3 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.5% C 0.197 H 276.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5EE3 |
|---|---|
| RGB | rgb(91, 94, 227) |
| HSL | hsl(239, 71%, 62%) |
| HSV | hsv(239, 60%, 89%) |
| CMYK | cmyk(59.9%, 58.6%, 0%, 11%) |
| CIE-LAB | lab(46.68, 37.66, -68.20) |
| CIE-LCH | lch(46.68, 77.91, 298.91°) |
| OKLab | oklab(55.55% 0.0236 -0.196) |
| OKLCH | oklch(55.55% 0.197 276.9) |
| XYZ | xyz(22.1777, 15.7739, 74.5341) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.93
Warm Blue
#4B57DB
ΔE00 3.21
Slate Blue
#6A5ACD
ΔE00 4.22
Light Indigo
#6D5ACF
ΔE00 4.38
Iris
#6258C4
ΔE00 4.95
Azul
#1D5DEC
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5EE3 #E3E05B
analogous
#5BA2E3 #5B5EE3 #9C5BE3
triadic
#5B5EE3 #E35B5E #5EE35B
tetradic
#5B5EE3 #E35BA2 #E3E05B #5BE39C
square
#5B5EE3 #E35BA2 #E3E05B #5BE39C
split-complementary
#5B5EE3 #E39C5B #A2E35B
monochromatic
#1D20A7 #272BDA #5B5EE3 #8F91EC #C4C5F5
Accessibility & contrast
On white
5.05
#5B5EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#5B5EE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5EE3
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5EE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5EE3 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b5ee3; /* rgb */ color: rgb(91, 94, 227); /* oklch */ color: oklch(55.5% 0.197 276.9);
Tailwind
colors: {
custom: {
50: '#968ced',
500: '#5b5ee3',
950: '#000000',
},
}SCSS
$custom: #5b5ee3; $custom-light: #968ced; $custom-dark: #000000;
JSON
{
"hex": "#5b5ee3",
"rgb": {
"r": 91,
"g": 94,
"b": 227
},
"hsl": {
"h": 238.676,
"s": 70.833,
"l": 62.353
},
"oklch": {
"l": 0.55549,
"c": 0.19746,
"h": 276.9
},
"luminance": 0.15776
}Semantic roles & 50–950 ramp
primary
#5B5EE3
secondary
#E6E5B4
accent
#CF13D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84