#5F4FCB#5F4FCB
#5F4FCB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.4% C 0.184 H 283.7°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FCB |
|---|---|
| RGB | rgb(95, 79, 203) |
| HSL | hsl(248, 54%, 55%) |
| HSV | hsv(248, 61%, 80%) |
| CMYK | cmyk(53.2%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(41.74, 39.77, -62.48) |
| CIE-LCH | lch(41.74, 74.06, 302.48°) |
| OKLab | oklab(51.44% 0.0436 -0.1792) |
| OKLCH | oklch(51.44% 0.184 283.7) |
| XYZ | xyz(18.2915, 12.3356, 57.9055) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.87
Slate Blue
#6A5ACD
ΔE00 3.59
Bluey Purple
#6241C7
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 3.89
Warm Blue
#4B57DB
ΔE00 4.55
Dark Periwinkle
#665FD1
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FCB #BBCB4F
analogous
#4F7DCB #5F4FCB #9D4FCB
triadic
#5F4FCB #CB5F4F #4FCB5F
tetradic
#5F4FCB #CB4F7D #BBCB4F #4FCB9D
square
#5F4FCB #CB4F7D #BBCB4F #4FCB9D
split-complementary
#5F4FCB #CB9D4F #7DCB4F
monochromatic
#30247B #4232AA #5F4FCB #8A7ED9 #B5ADE7
Accessibility & contrast
On white
6.06
#5F4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5F4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FCB
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FCB | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#316D85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5f4fcb; /* rgb */ color: rgb(95, 79, 203); /* oklch */ color: oklch(51.4% 0.184 283.7);
Tailwind
colors: {
custom: {
50: '#9581dc',
500: '#5f4fcb',
950: '#000000',
},
}SCSS
$custom: #5f4fcb; $custom-light: #9581dc; $custom-dark: #000000;
JSON
{
"hex": "#5f4fcb",
"rgb": {
"r": 95,
"g": 79,
"b": 203
},
"hsl": {
"h": 247.742,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.51439,
"c": 0.18441,
"h": 283.7
},
"luminance": 0.12337
}Semantic roles & 50–950 ramp
primary
#5F4FCB
secondary
#CED5A1
accent
#DE4ACB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83