#5B5AF2#5B5AF2
#5B5AF2 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.1% C 0.221 H 276.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5AF2 |
|---|---|
| RGB | rgb(91, 90, 242) |
| HSL | hsl(240, 85%, 65%) |
| HSV | hsv(240, 63%, 95%) |
| CMYK | cmyk(62.4%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(46.90, 44.86, -76.28) |
| CIE-LCH | lch(46.90, 88.49, 300.46°) |
| OKLab | oklab(56.07% 0.0263 -0.2198) |
| OKLCH | oklch(56.07% 0.221 276.8) |
| XYZ | xyz(23.9924, 15.9453, 85.8006) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 4.58
Light Indigo
#6D5ACF
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.32
Electric Blue
#0652FF
ΔE00 5.44
Mediumslateblue
#7B68EE
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5AF2 #F1F25A
analogous
#5AA5F2 #5B5AF2 #A75AF2
triadic
#5B5AF2 #F25B5A #5AF25B
tetradic
#5B5AF2 #F25AA5 #F1F25A #5AF2A7
square
#5B5AF2 #F25AA5 #F1F25A #5AF2A7
split-complementary
#5B5AF2 #F2A75A #A5F25A
monochromatic
#100FC2 #2321EE #5B5AF2 #9393F6 #CCCBFB
Accessibility & contrast
On white
5.01
#5B5AF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#5B5AF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5AF2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5AF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5AF2 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b5af2; /* rgb */ color: rgb(91, 90, 242); /* oklch */ color: oklch(56.1% 0.221 276.8);
Tailwind
colors: {
custom: {
50: '#9989f7',
500: '#5b5af2',
950: '#000000',
},
}SCSS
$custom: #5b5af2; $custom-light: #9989f7; $custom-dark: #000000;
JSON
{
"hex": "#5b5af2",
"rgb": {
"r": 91,
"g": 90,
"b": 242
},
"hsl": {
"h": 240.395,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.56072,
"c": 0.22136,
"h": 276.8
},
"luminance": 0.15947
}Semantic roles & 50–950 ramp
primary
#5B5AF2
secondary
#EDEEBA
accent
#E204E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85