#5B5BF2#5B5BF2
#5B5BF2 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.2% C 0.220 H 276.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BF2 |
|---|---|
| RGB | rgb(91, 91, 242) |
| HSL | hsl(240, 85%, 65%) |
| HSV | hsv(240, 62%, 95%) |
| CMYK | cmyk(62.4%, 62.4%, 0%, 5.1%) |
| CIE-LAB | lab(47.13, 44.28, -75.91) |
| CIE-LCH | lch(47.13, 87.88, 300.25°) |
| OKLab | oklab(56.23% 0.0255 -0.2187) |
| OKLCH | oklch(56.23% 0.22 276.7) |
| XYZ | xyz(24.0773, 16.1152, 85.8289) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.19
Dark Periwinkle
#665FD1
ΔE00 4.54
Light Indigo
#6D5ACF
ΔE00 5.36
Slate Blue
#6A5ACD
ΔE00 5.38
Electric Blue
#0652FF
ΔE00 5.54
Mediumslateblue
#7B68EE
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BF2 #F2F25B
analogous
#5BA6F2 #5B5BF2 #A65BF2
triadic
#5B5BF2 #F25B5B #5BF25B
tetradic
#5B5BF2 #F25BA6 #F2F25B #5BF2A6
square
#5B5BF2 #F25BA6 #F2F25B #5BF2A6
split-complementary
#5B5BF2 #F2A65B #A6F25B
monochromatic
#0F0FC3 #2222EE #5B5BF2 #9494F6 #CCCCFB
Accessibility & contrast
On white
4.97
#5B5BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#5B5BF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BF2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BF2 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5b5bf2; /* rgb */ color: rgb(91, 91, 242); /* oklch */ color: oklch(56.2% 0.220 276.7);
Tailwind
colors: {
custom: {
50: '#998af7',
500: '#5b5bf2',
950: '#000000',
},
}SCSS
$custom: #5b5bf2; $custom-light: #998af7; $custom-dark: #000000;
JSON
{
"hex": "#5b5bf2",
"rgb": {
"r": 91,
"g": 91,
"b": 242
},
"hsl": {
"h": 240,
"s": 85.311,
"l": 65.294
},
"oklch": {
"l": 0.56234,
"c": 0.2202,
"h": 276.7
},
"luminance": 0.16117
}Semantic roles & 50–950 ramp
primary
#5B5BF2
secondary
#EEEEBB
accent
#E204E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85