#4F50CA#4F50CA
#4F50CA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.3% C 0.185 H 277.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4F50CA |
|---|---|
| RGB | rgb(79, 80, 202) |
| HSL | hsl(240, 54%, 55%) |
| HSV | hsv(240, 61%, 79%) |
| CMYK | cmyk(60.9%, 60.4%, 0%, 20.8%) |
| CIE-LAB | lab(40.67, 36.04, -63.69) |
| CIE-LCH | lch(40.67, 73.18, 299.50°) |
| OKLab | oklab(50.32% 0.0229 -0.1832) |
| OKLCH | oklch(50.32% 0.185 277.1) |
| XYZ | xyz(16.7503, 11.6626, 57.2341) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.20
Iris
#6258C4
ΔE00 3.73
Ocean Blue
#4F42B5
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.07
Bluey Purple
#6241C7
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F50CA #CAC94F
analogous
#4F8ECA #4F50CA #8B4FCA
triadic
#4F50CA #CA4F50 #50CA4F
tetradic
#4F50CA #CA4F8E #CAC94F #4FCA8B
square
#4F50CA #CA4F8E #CAC94F #4FCA8B
split-complementary
#4F50CA #CA8B4F #8ECA4F
monochromatic
#25257A #3334A9 #4F50CA #7E7FD8 #ADAEE6
Accessibility & contrast
On white
6.30
#4F50CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#4F50CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F50CA
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F50CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F50CA | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4f50ca; /* rgb */ color: rgb(79, 80, 202); /* oklch */ color: oklch(50.3% 0.185 277.1);
Tailwind
colors: {
custom: {
50: '#8d81db',
500: '#4f50ca',
950: '#000000',
},
}SCSS
$custom: #4f50ca; $custom-light: #8d81db; $custom-dark: #000000;
JSON
{
"hex": "#4f50ca",
"rgb": {
"r": 79,
"g": 80,
"b": 202
},
"hsl": {
"h": 239.512,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.50321,
"c": 0.18463,
"h": 277.1
},
"luminance": 0.11664
}Semantic roles & 50–950 ramp
primary
#4F50CA
secondary
#D4D4A1
accent
#DC4BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83