#4A4EB4#4A4EB4
#4A4EB4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.159 H 276.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4EB4 |
|---|---|
| RGB | rgb(74, 78, 180) |
| HSL | hsl(238, 42%, 50%) |
| HSV | hsv(238, 59%, 71%) |
| CMYK | cmyk(58.9%, 56.7%, 0%, 29.4%) |
| CIE-LAB | lab(38.20, 29.09, -54.88) |
| CIE-LCH | lch(38.20, 62.11, 297.92°) |
| OKLab | oklab(47.88% 0.019 -0.1574) |
| OKLCH | oklch(47.88% 0.159 276.9) |
| XYZ | xyz(13.7840, 10.1989, 44.4134) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.98
Iris
#6258C4
ΔE00 5.19
Blue Blue
#2242C7
ΔE00 5.35
Blueberry
#464196
ΔE00 5.79
Warm Blue
#4B57DB
ΔE00 6.00
Blue With A Hint Of Purple
#533CC6
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4EB4 #B4B04A
analogous
#4A83B4 #4A4EB4 #7B4AB4
triadic
#4A4EB4 #B44A4E #4EB44A
tetradic
#4A4EB4 #B44A83 #B4B04A #4AB47B
square
#4A4EB4 #B44A83 #B4B04A #4AB47B
split-complementary
#4A4EB4 #B47B4A #83B44A
monochromatic
#26285D #383B89 #4A4EB4 #7578C6 #A0A2D8
Accessibility & contrast
On white
6.91
#4A4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#4A4EB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A4EB4
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4EB4 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4a4eb4; /* rgb */ color: rgb(74, 78, 180); /* oklch */ color: oklch(47.9% 0.159 276.9);
Tailwind
colors: {
custom: {
50: '#867fcb',
500: '#4a4eb4',
950: '#000000',
},
}SCSS
$custom: #4a4eb4; $custom-light: #867fcb; $custom-dark: #000000;
JSON
{
"hex": "#4a4eb4",
"rgb": {
"r": 74,
"g": 78,
"b": 180
},
"hsl": {
"h": 237.736,
"s": 41.732,
"l": 49.804
},
"oklch": {
"l": 0.4788,
"c": 0.1586,
"h": 276.9
},
"luminance": 0.102
}Semantic roles & 50–950 ramp
primary
#4A4EB4
secondary
#C5C395
accent
#CD56D2
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82