#4F50B2#4F50B2
#4F50B2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.152 H 278.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4F50B2 |
|---|---|
| RGB | rgb(79, 80, 178) |
| HSL | hsl(239, 39%, 50%) |
| HSV | hsv(239, 56%, 70%) |
| CMYK | cmyk(55.6%, 55.1%, 0%, 30.2%) |
| CIE-LAB | lab(38.92, 28.12, -52.51) |
| CIE-LCH | lch(38.92, 59.57, 298.17°) |
| OKLab | oklab(48.47% 0.0229 -0.1503) |
| OKLCH | oklch(48.47% 0.152 278.7) |
| XYZ | xyz(14.1265, 10.6130, 43.4150) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.37
Iris
#6258C4
ΔE00 4.56
Blueberry
#464196
ΔE00 5.94
Warm Blue
#4B57DB
ΔE00 6.09
Blue Blue
#2242C7
ΔE00 6.33
Slate Blue
#6A5ACD
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F50B2 #B2B14F
analogous
#4F81B2 #4F50B2 #7F4FB2
triadic
#4F50B2 #B24F50 #50B24F
tetradic
#4F50B2 #B24F81 #B2B14F #4FB27F
square
#4F50B2 #B24F81 #B2B14F #4FB27F
split-complementary
#4F50B2 #B27F4F #81B24F
monochromatic
#29295E #3C3C88 #4F50B2 #7A7AC5 #A4A5D7
Accessibility & contrast
On white
6.72
#4F50B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#4F50B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F50B2
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F50B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F50B2 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#1D6779
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4f50b2; /* rgb */ color: rgb(79, 80, 178); /* oklch */ color: oklch(48.5% 0.152 278.7);
Tailwind
colors: {
custom: {
50: '#8981ca',
500: '#4f50b2',
950: '#000000',
},
}SCSS
$custom: #4f50b2; $custom-light: #8981ca; $custom-dark: #000000;
JSON
{
"hex": "#4f50b2",
"rgb": {
"r": 79,
"g": 80,
"b": 178
},
"hsl": {
"h": 239.394,
"s": 39.13,
"l": 50.392
},
"oklch": {
"l": 0.48467,
"c": 0.15206,
"h": 278.7
},
"luminance": 0.10614
}Semantic roles & 50–950 ramp
primary
#4F50B2
secondary
#C4C498
accent
#CE59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82