#4C4ED3#4C4ED3
#4C4ED3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.199 H 275.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4ED3 |
|---|---|
| RGB | rgb(76, 78, 211) |
| HSL | hsl(239, 61%, 56%) |
| HSV | hsv(239, 64%, 83%) |
| CMYK | cmyk(64%, 63%, 0%, 17.3%) |
| CIE-LAB | lab(40.71, 39.77, -68.83) |
| CIE-LCH | lch(40.71, 79.49, 300.02°) |
| OKLab | oklab(50.52% 0.0206 -0.1984) |
| OKLCH | oklch(50.52% 0.199 275.9) |
| XYZ | xyz(17.4589, 11.6870, 62.9511) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.96
Iris
#6258C4
ΔE00 4.60
Blue (survey)
#0343DF
ΔE00 5.02
Bluey Purple
#6241C7
ΔE00 5.33
Blue With A Hint Of Purple
#533CC6
ΔE00 5.39
Ocean Blue
#4F42B5
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4ED3 #D3D14C
analogous
#4C92D3 #4C4ED3 #8E4CD3
triadic
#4C4ED3 #D34C4E #4ED34C
tetradic
#4C4ED3 #D34C92 #D3D14C #4CD38E
square
#4C4ED3 #D34C92 #D3D14C #4CD38E
split-complementary
#4C4ED3 #D38E4C #92D34C
monochromatic
#202284 #2D2FB5 #4C4ED3 #7D7FDF #AEAFEB
Accessibility & contrast
On white
6.29
#4C4ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#4C4ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C4ED3
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4ED3 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4c4ed3; /* rgb */ color: rgb(76, 78, 211); /* oklch */ color: oklch(50.5% 0.199 275.9);
Tailwind
colors: {
custom: {
50: '#8d80e2',
500: '#4c4ed3',
950: '#000000',
},
}SCSS
$custom: #4c4ed3; $custom-light: #8d80e2; $custom-dark: #000000;
JSON
{
"hex": "#4c4ed3",
"rgb": {
"r": 76,
"g": 78,
"b": 211
},
"hsl": {
"h": 239.111,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.50518,
"c": 0.19945,
"h": 275.9
},
"luminance": 0.11688
}Semantic roles & 50–950 ramp
primary
#4C4ED3
secondary
#D9D8A2
accent
#E144E4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83