#5B4FCF#5B4FCF
#5B4FCF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.4% C 0.190 H 281.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FCF |
|---|---|
| RGB | rgb(91, 79, 207) |
| HSL | hsl(246, 57%, 56%) |
| HSV | hsv(246, 62%, 81%) |
| CMYK | cmyk(56%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(41.72, 40.29, -64.84) |
| CIE-LCH | lch(41.72, 76.34, 301.85°) |
| OKLab | oklab(51.43% 0.0383 -0.1862) |
| OKLCH | oklch(51.43% 0.19 281.6) |
| XYZ | xyz(18.3694, 12.3199, 60.4294) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.19
Warm Blue
#4B57DB
ΔE00 3.85
Slate Blue
#6A5ACD
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 4.20
Bluey Purple
#6241C7
ΔE00 4.21
Dark Periwinkle
#665FD1
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FCF #C3CF4F
analogous
#4F83CF #5B4FCF #9B4FCF
triadic
#5B4FCF #CF5B4F #4FCF5B
tetradic
#5B4FCF #CF4F83 #C3CF4F #4FCF9B
square
#5B4FCF #CF4F83 #C3CF4F #4FCF9B
split-complementary
#5B4FCF #CF9B4F #83CF4F
monochromatic
#2C2381 #3C30B1 #5B4FCF #887FDC #B5AFE9
Accessibility & contrast
On white
6.06
#5B4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#5B4FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FCF
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FCF | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#1F6E87
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5b4fcf; /* rgb */ color: rgb(91, 79, 207); /* oklch */ color: oklch(51.4% 0.190 281.6);
Tailwind
colors: {
custom: {
50: '#9481df',
500: '#5b4fcf',
950: '#000000',
},
}SCSS
$custom: #5b4fcf; $custom-light: #9481df; $custom-dark: #000000;
JSON
{
"hex": "#5b4fcf",
"rgb": {
"r": 91,
"g": 79,
"b": 207
},
"hsl": {
"h": 245.625,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.51435,
"c": 0.19014,
"h": 281.6
},
"luminance": 0.12321
}Semantic roles & 50–950 ramp
primary
#5B4FCF
secondary
#D2D7A2
accent
#E047D2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83