#5F4FEB#5F4FEB
#5F4FEB is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.1% C 0.224 H 280.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FEB |
|---|---|
| RGB | rgb(95, 79, 235) |
| HSL | hsl(246, 80%, 62%) |
| HSV | hsv(246, 66%, 92%) |
| CMYK | cmyk(59.6%, 66.4%, 0%, 7.8%) |
| CIE-LAB | lab(44.26, 49.57, -76.64) |
| CIE-LCH | lch(44.26, 91.28, 302.89°) |
| OKLab | oklab(54.05% 0.0406 -0.2208) |
| OKLCH | oklch(54.05% 0.224 280.4) |
| XYZ | xyz(22.5060, 14.0214, 80.1016) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.45
Warm Blue
#4B57DB
ΔE00 4.40
Light Indigo
#6D5ACF
ΔE00 4.92
Slate Blue
#6A5ACD
ΔE00 4.97
Bluish Purple
#703BE7
ΔE00 5.06
Dark Periwinkle
#665FD1
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FEB #DBEB4F
analogous
#4F8DEB #5F4FEB #AD4FEB
triadic
#5F4FEB #EB5F4F #4FEB5F
tetradic
#5F4FEB #EB4F8D #DBEB4F #4FEBAD
square
#5F4FEB #EB4F8D #DBEB4F #4FEBAD
split-complementary
#5F4FEB #EBAD4F #8DEB4F
monochromatic
#2314AC #2E1AE3 #5F4FEB #9186F1 #C3BDF7
Accessibility & contrast
On white
5.52
#5F4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#5F4FEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FEB
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FEB | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#0063E8
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5f4feb; /* rgb */ color: rgb(95, 79, 235); /* oklch */ color: oklch(54.1% 0.224 280.4);
Tailwind
colors: {
custom: {
50: '#9a82f3',
500: '#5f4feb',
950: '#000000',
},
}SCSS
$custom: #5f4feb; $custom-light: #9a82f3; $custom-dark: #000000;
JSON
{
"hex": "#5f4feb",
"rgb": {
"r": 95,
"g": 79,
"b": 235
},
"hsl": {
"h": 246.154,
"s": 79.592,
"l": 61.569
},
"oklch": {
"l": 0.54054,
"c": 0.22448,
"h": 280.4
},
"luminance": 0.14023
}Semantic roles & 50–950 ramp
primary
#5F4FEB
secondary
#E2E8AE
accent
#DC0AC6
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85