#5B4FF2#5B4FF2
#5B4FF2 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.4% C 0.234 H 278.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FF2 |
|---|---|
| RGB | rgb(91, 79, 242) |
| HSL | hsl(244, 86%, 63%) |
| HSV | hsv(244, 67%, 95%) |
| CMYK | cmyk(62.4%, 67.4%, 0%, 5.1%) |
| CIE-LAB | lab(44.55, 51.16, -80.12) |
| CIE-LCH | lch(44.55, 95.06, 302.56°) |
| OKLab | oklab(54.37% 0.0346 -0.2311) |
| OKLCH | oklch(54.37% 0.234 278.5) |
| XYZ | xyz(23.1322, 14.2251, 85.5139) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.66
Warm Blue
#4B57DB
ΔE00 4.50
Electric Blue
#0652FF
ΔE00 5.37
Bluish Purple
#703BE7
ΔE00 5.50
Light Indigo
#6D5ACF
ΔE00 5.63
Slate Blue
#6A5ACD
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FF2 #E6F24F
analogous
#4F95F2 #5B4FF2 #AC4FF2
triadic
#5B4FF2 #F25B4F #4FF25B
tetradic
#5B4FF2 #F24F95 #E6F24F #4FF2AC
square
#5B4FF2 #F24F95 #E6F24F #4FF2AC
split-complementary
#5B4FF2 #F2AC4F #95F24F
monochromatic
#1A0EB9 #2616EE #5B4FF2 #9088F6 #C5C1FA
Accessibility & contrast
On white
5.46
#5B4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#5B4FF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FF2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FF2 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070F7
Deuteranopia (green-blind)
#0063EF
Tritanopia (blue-blind)
#007A9A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5b4ff2; /* rgb */ color: rgb(91, 79, 242); /* oklch */ color: oklch(54.4% 0.234 278.5);
Tailwind
colors: {
custom: {
50: '#9a82f8',
500: '#5b4ff2',
950: '#000000',
},
}SCSS
$custom: #5b4ff2; $custom-light: #9a82f8; $custom-dark: #000000;
JSON
{
"hex": "#5b4ff2",
"rgb": {
"r": 91,
"g": 79,
"b": 242
},
"hsl": {
"h": 244.417,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.54368,
"c": 0.23366,
"h": 278.5
},
"luminance": 0.14227
}Semantic roles & 50–950 ramp
primary
#5B4FF2
secondary
#E7ECB1
accent
#E303D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A17
muted
#7F7C85