#5B5CE9#5B5CE9
#5B5CE9 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.7% C 0.208 H 277.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CE9 |
|---|---|
| RGB | rgb(91, 92, 233) |
| HSL | hsl(240, 76%, 64%) |
| HSV | hsv(240, 61%, 91%) |
| CMYK | cmyk(60.9%, 60.5%, 0%, 8.6%) |
| CIE-LAB | lab(46.66, 40.80, -71.62) |
| CIE-LCH | lch(46.66, 82.42, 299.67°) |
| OKLab | oklab(55.68% 0.0252 -0.2061) |
| OKLCH | oklch(55.68% 0.208 277) |
| XYZ | xyz(22.8448, 15.7598, 78.9131) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.39
Dark Periwinkle
#665FD1
ΔE00 3.56
Slate Blue
#6A5ACD
ΔE00 4.54
Light Indigo
#6D5ACF
ΔE00 4.62
Iris
#6258C4
ΔE00 5.40
Electric Blue
#0652FF
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CE9 #E9E85B
analogous
#5BA3E9 #5B5CE9 #A15BE9
triadic
#5B5CE9 #E95B5C #5CE95B
tetradic
#5B5CE9 #E95BA3 #E9E85B #5BE9A1
square
#5B5CE9 #E95BA3 #E9E85B #5BE9A1
split-complementary
#5B5CE9 #E9A15B #A3E95B
monochromatic
#1819B2 #2526E2 #5B5CE9 #9192F0 #C7C7F7
Accessibility & contrast
On white
5.06
#5B5CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#5B5CE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CE9
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CE9 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b5ce9; /* rgb */ color: rgb(91, 92, 233); /* oklch */ color: oklch(55.7% 0.208 277.0);
Tailwind
colors: {
custom: {
50: '#978af1',
500: '#5b5ce9',
950: '#000000',
},
}SCSS
$custom: #5b5ce9; $custom-light: #978af1; $custom-dark: #000000;
JSON
{
"hex": "#5b5ce9",
"rgb": {
"r": 91,
"g": 92,
"b": 233
},
"hsl": {
"h": 239.577,
"s": 76.344,
"l": 63.529
},
"oklch": {
"l": 0.55675,
"c": 0.20763,
"h": 277
},
"luminance": 0.15762
}Semantic roles & 50–950 ramp
primary
#5B5CE9
secondary
#E9E9B7
accent
#D70DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85