#5B4FE9#5B4FE9
#5B4FE9 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.223 H 279.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FE9 |
|---|---|
| RGB | rgb(91, 79, 233) |
| HSL | hsl(245, 78%, 61%) |
| HSV | hsv(245, 66%, 91%) |
| CMYK | cmyk(60.9%, 66.1%, 0%, 8.6%) |
| CIE-LAB | lab(43.80, 48.38, -76.29) |
| CIE-LCH | lch(43.80, 90.34, 302.38°) |
| OKLab | oklab(53.59% 0.0358 -0.2199) |
| OKLCH | oklch(53.59% 0.223 279.2) |
| XYZ | xyz(21.8137, 13.6977, 78.5694) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.56
Warm Blue
#4B57DB
ΔE00 3.89
Slate Blue
#6A5ACD
ΔE00 4.99
Light Indigo
#6D5ACF
ΔE00 5.02
Bluish Purple
#703BE7
ΔE00 5.30
Dark Periwinkle
#665FD1
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FE9 #DDE94F
analogous
#4F90E9 #5B4FE9 #A84FE9
triadic
#5B4FE9 #E95B4F #4FE95B
tetradic
#5B4FE9 #E94F90 #DDE94F #4FE9A8
square
#5B4FE9 #E94F90 #DDE94F #4FE9A8
split-complementary
#5B4FE9 #E9A84F #90E94F
monochromatic
#2115A9 #2B1CDF #5B4FE9 #8E85F0 #C0BCF7
Accessibility & contrast
On white
5.62
#5B4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#5B4FE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FE9
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FE9 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0061E6
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5b4fe9; /* rgb */ color: rgb(91, 79, 233); /* oklch */ color: oklch(53.6% 0.223 279.2);
Tailwind
colors: {
custom: {
50: '#9881f1',
500: '#5b4fe9',
950: '#000000',
},
}SCSS
$custom: #5b4fe9; $custom-light: #9881f1; $custom-dark: #000000;
JSON
{
"hex": "#5b4fe9",
"rgb": {
"r": 91,
"g": 79,
"b": 233
},
"hsl": {
"h": 244.675,
"s": 77.778,
"l": 61.176
},
"oklch": {
"l": 0.53589,
"c": 0.22276,
"h": 279.2
},
"luminance": 0.13699
}Semantic roles & 50–950 ramp
primary
#5B4FE9
secondary
#E2E7AD
accent
#DA0BCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85