#4E50C2#4E50C2
#4E50C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.174 H 277.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4E50C2 |
|---|---|
| RGB | rgb(78, 80, 194) |
| HSL | hsl(239, 49%, 53%) |
| HSV | hsv(239, 60%, 76%) |
| CMYK | cmyk(59.8%, 58.8%, 0%, 23.9%) |
| CIE-LAB | lab(40.00, 33.22, -60.15) |
| CIE-LCH | lch(40.00, 68.72, 298.91°) |
| OKLab | oklab(49.61% 0.0219 -0.1728) |
| OKLCH | oklch(49.61% 0.174 277.2) |
| XYZ | xyz(15.7450, 11.2509, 52.3704) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.84
Warm Blue
#4B57DB
ΔE00 4.02
Ocean Blue
#4F42B5
ΔE00 4.55
Slate Blue
#6A5ACD
ΔE00 5.49
Blue Blue
#2242C7
ΔE00 5.53
Bluey Purple
#6241C7
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E50C2 #C2C04E
analogous
#4E8AC2 #4E50C2 #864EC2
triadic
#4E50C2 #C24E50 #50C24E
tetradic
#4E50C2 #C24E8A #C2C04E #4EC286
square
#4E50C2 #C24E8A #C2C04E #4EC286
split-complementary
#4E50C2 #C2864E #8AC24E
monochromatic
#26286F #36389D #4E50C2 #7C7DD2 #A9AAE1
Accessibility & contrast
On white
6.46
#4E50C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#4E50C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E50C2
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E50C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E50C2 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4e50c2; /* rgb */ color: rgb(78, 80, 194); /* oklch */ color: oklch(49.6% 0.174 277.2);
Tailwind
colors: {
custom: {
50: '#8b81d5',
500: '#4e50c2',
950: '#000000',
},
}SCSS
$custom: #4e50c2; $custom-light: #8b81d5; $custom-dark: #000000;
JSON
{
"hex": "#4e50c2",
"rgb": {
"r": 78,
"g": 80,
"b": 194
},
"hsl": {
"h": 238.966,
"s": 48.739,
"l": 53.333
},
"oklch": {
"l": 0.49614,
"c": 0.1742,
"h": 277.2
},
"luminance": 0.11252
}Semantic roles & 50–950 ramp
primary
#4E50C2
secondary
#CFCE9D
accent
#D650D8
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83