#4F50CF#4F50CF
#4F50CF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.7% C 0.191 H 276.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4F50CF |
|---|---|
| RGB | rgb(79, 80, 207) |
| HSL | hsl(240, 57%, 56%) |
| HSV | hsv(240, 62%, 81%) |
| CMYK | cmyk(61.8%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(41.06, 37.69, -65.95) |
| CIE-LCH | lch(41.06, 75.96, 299.75°) |
| OKLab | oklab(50.73% 0.0227 -0.1898) |
| OKLCH | oklch(50.73% 0.191 276.8) |
| XYZ | xyz(17.3519, 11.9032, 60.4025) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.77
Iris
#6258C4
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.98
Light Indigo
#6D5ACF
ΔE00 5.42
Ocean Blue
#4F42B5
ΔE00 5.44
Dark Periwinkle
#665FD1
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F50CF #CFCE4F
analogous
#4F90CF #4F50CF #8E4FCF
triadic
#4F50CF #CF4F50 #50CF4F
tetradic
#4F50CF #CF4F90 #CFCE4F #4FCF8E
square
#4F50CF #CF4F90 #CFCE4F #4FCF8E
split-complementary
#4F50CF #CF8E4F #90CF4F
monochromatic
#232481 #3031B1 #4F50CF #7F80DC #AFB0E9
Accessibility & contrast
On white
6.21
#4F50CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#4F50CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F50CF
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F50CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F50CF | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4f50cf; /* rgb */ color: rgb(79, 80, 207); /* oklch */ color: oklch(50.7% 0.191 276.8);
Tailwind
colors: {
custom: {
50: '#8d81df',
500: '#4f50cf',
950: '#000000',
},
}SCSS
$custom: #4f50cf; $custom-light: #8d81df; $custom-dark: #000000;
JSON
{
"hex": "#4f50cf",
"rgb": {
"r": 79,
"g": 80,
"b": 207
},
"hsl": {
"h": 239.531,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.50726,
"c": 0.1912,
"h": 276.8
},
"luminance": 0.11905
}Semantic roles & 50–950 ramp
primary
#4F50CF
secondary
#D7D7A2
accent
#DF47E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83