#4F50CC#4F50CC
#4F50CC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.187 H 277.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4F50CC |
|---|---|
| RGB | rgb(79, 80, 204) |
| HSL | hsl(240, 55%, 55%) |
| HSV | hsv(240, 61%, 80%) |
| CMYK | cmyk(61.3%, 60.8%, 0%, 20%) |
| CIE-LAB | lab(40.83, 36.70, -64.60) |
| CIE-LCH | lch(40.83, 74.30, 299.60°) |
| OKLab | oklab(50.48% 0.0228 -0.1859) |
| OKLCH | oklch(50.48% 0.187 277) |
| XYZ | xyz(16.9887, 11.7579, 58.4893) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.01
Iris
#6258C4
ΔE00 3.78
Slate Blue
#6A5ACD
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 5.18
Bluey Purple
#6241C7
ΔE00 5.43
Light Indigo
#6D5ACF
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F50CC #CCCB4F
analogous
#4F8ECC #4F50CC #8C4FCC
triadic
#4F50CC #CC4F50 #50CC4F
tetradic
#4F50CC #CC4F8E #CCCB4F #4FCC8C
square
#4F50CC #CC4F8E #CCCB4F #4FCC8C
split-complementary
#4F50CC #CC8C4F #8ECC4F
monochromatic
#24257D #3233AC #4F50CC #7E7FDA #AEAEE7
Accessibility & contrast
On white
6.27
#4F50CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#4F50CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F50CC
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F50CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F50CC | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4f50cc; /* rgb */ color: rgb(79, 80, 204); /* oklch */ color: oklch(50.5% 0.187 277.0);
Tailwind
colors: {
custom: {
50: '#8d81dc',
500: '#4f50cc',
950: '#000000',
},
}SCSS
$custom: #4f50cc; $custom-light: #8d81dc; $custom-dark: #000000;
JSON
{
"hex": "#4f50cc",
"rgb": {
"r": 79,
"g": 80,
"b": 204
},
"hsl": {
"h": 239.52,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.50482,
"c": 0.18726,
"h": 277
},
"luminance": 0.11759
}Semantic roles & 50–950 ramp
primary
#4F50CC
secondary
#D5D5A1
accent
#DD49DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83