#4C4EAA#4C4EAA
#4C4EAA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.144 H 278.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4EAA |
|---|---|
| RGB | rgb(76, 78, 170) |
| HSL | hsl(239, 38%, 48%) |
| HSV | hsv(239, 55%, 67%) |
| CMYK | cmyk(55.3%, 54.1%, 0%, 33.3%) |
| CIE-LAB | lab(37.64, 26.14, -49.86) |
| CIE-LCH | lch(37.64, 56.29, 297.67°) |
| OKLab | oklab(47.28% 0.0211 -0.1426) |
| OKLCH | oklch(47.28% 0.144 278.4) |
| XYZ | xyz(12.9583, 9.8867, 39.2479) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.39
Blueberry
#464196
ΔE00 4.75
Iris
#6258C4
ΔE00 5.81
Twilight
#4E518B
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4EAA #AAA84C
analogous
#4C7DAA #4C4EAA #794CAA
triadic
#4C4EAA #AA4C4E #4EAA4C
tetradic
#4C4EAA #AA4C7D #AAA84C #4CAA79
square
#4C4EAA #AA4C7D #AAA84C #4CAA79
split-complementary
#4C4EAA #AA794C #7DAA4C
monochromatic
#262755 #393B80 #4C4EAA #7375C0 #9D9ED3
Accessibility & contrast
On white
7.05
#4C4EAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#4C4EAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C4EAA
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4EAA | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175CAD
Deuteranopia (green-blind)
#0255A8
Tritanopia (blue-blind)
#1E6374
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4c4eaa; /* rgb */ color: rgb(76, 78, 170); /* oklch */ color: oklch(47.3% 0.144 278.4);
Tailwind
colors: {
custom: {
50: '#867fc4',
500: '#4c4eaa',
950: '#000000',
},
}SCSS
$custom: #4c4eaa; $custom-light: #867fc4; $custom-dark: #000000;
JSON
{
"hex": "#4c4eaa",
"rgb": {
"r": 76,
"g": 78,
"b": 170
},
"hsl": {
"h": 238.723,
"s": 38.211,
"l": 48.235
},
"oklch": {
"l": 0.47276,
"c": 0.14416,
"h": 278.4
},
"luminance": 0.09888
}Semantic roles & 50–950 ramp
primary
#4C4EAA
secondary
#C0BF92
accent
#CC5ACE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82