#4F50CE#4F50CE
#4F50CE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.190 H 276.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4F50CE |
|---|---|
| RGB | rgb(79, 80, 206) |
| HSL | hsl(240, 56%, 56%) |
| HSV | hsv(240, 62%, 81%) |
| CMYK | cmyk(61.7%, 61.2%, 0%, 19.2%) |
| CIE-LAB | lab(40.98, 37.36, -65.50) |
| CIE-LCH | lch(40.98, 75.41, 299.70°) |
| OKLab | oklab(50.65% 0.0227 -0.1885) |
| OKLCH | oklch(50.65% 0.19 276.9) |
| XYZ | xyz(17.2301, 11.8545, 59.7607) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.85
Iris
#6258C4
ΔE00 3.85
Slate Blue
#6A5ACD
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 5.35
Light Indigo
#6D5ACF
ΔE00 5.44
Bluey Purple
#6241C7
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F50CE #CECD4F
analogous
#4F8FCE #4F50CE #8E4FCE
triadic
#4F50CE #CE4F50 #50CE4F
tetradic
#4F50CE #CE4F8F #CECD4F #4FCE8E
square
#4F50CE #CE4F8F #CECD4F #4FCE8E
split-complementary
#4F50CE #CE8E4F #8FCE4F
monochromatic
#23247F #3132AF #4F50CE #7F80DB #AFAFE9
Accessibility & contrast
On white
6.23
#4F50CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#4F50CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F50CE
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F50CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F50CE | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4f50ce; /* rgb */ color: rgb(79, 80, 206); /* oklch */ color: oklch(50.6% 0.190 276.9);
Tailwind
colors: {
custom: {
50: '#8d81de',
500: '#4f50ce',
950: '#000000',
},
}SCSS
$custom: #4f50ce; $custom-light: #8d81de; $custom-dark: #000000;
JSON
{
"hex": "#4f50ce",
"rgb": {
"r": 79,
"g": 80,
"b": 206
},
"hsl": {
"h": 239.528,
"s": 56.444,
"l": 55.882
},
"oklch": {
"l": 0.50645,
"c": 0.18988,
"h": 276.9
},
"luminance": 0.11856
}Semantic roles & 50–950 ramp
primary
#4F50CE
secondary
#D7D6A2
accent
#DF48E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83