#4A4EC1#4A4EC1
#4A4EC1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.176 H 276.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4EC1 |
|---|---|
| RGB | rgb(74, 78, 193) |
| HSL | hsl(238, 49%, 52%) |
| HSV | hsv(238, 62%, 76%) |
| CMYK | cmyk(61.7%, 59.6%, 0%, 24.3%) |
| CIE-LAB | lab(39.16, 33.45, -60.94) |
| CIE-LCH | lch(39.16, 69.52, 298.77°) |
| OKLab | oklab(48.9% 0.019 -0.1753) |
| OKLCH | oklch(48.9% 0.176 276.2) |
| XYZ | xyz(15.1709, 10.7537, 51.7179) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.12
Warm Blue
#4B57DB
ΔE00 4.46
Iris
#6258C4
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 4.79
Blue With A Hint Of Purple
#533CC6
ΔE00 5.45
Blue (survey)
#0343DF
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4EC1 #C1BD4A
analogous
#4A8AC1 #4A4EC1 #814AC1
triadic
#4A4EC1 #C14A4E #4EC14A
tetradic
#4A4EC1 #C14A8A #C1BD4A #4AC181
square
#4A4EC1 #C14A8A #C1BD4A #4AC181
split-complementary
#4A4EC1 #C1814A #8AC14A
monochromatic
#25276C #353899 #4A4EC1 #787BD1 #A5A7E0
Accessibility & contrast
On white
6.66
#4A4EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#4A4EC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A4EC1
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4EC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4EC1 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4a4ec1; /* rgb */ color: rgb(74, 78, 193); /* oklch */ color: oklch(48.9% 0.176 276.2);
Tailwind
colors: {
custom: {
50: '#897fd5',
500: '#4a4ec1',
950: '#000000',
},
}SCSS
$custom: #4a4ec1; $custom-light: #897fd5; $custom-dark: #000000;
JSON
{
"hex": "#4a4ec1",
"rgb": {
"r": 74,
"g": 78,
"b": 193
},
"hsl": {
"h": 237.983,
"s": 48.971,
"l": 52.353
},
"oklch": {
"l": 0.489,
"c": 0.1763,
"h": 276.2
},
"luminance": 0.10755
}Semantic roles & 50–950 ramp
primary
#4A4EC1
secondary
#CDCC99
accent
#D44FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83