#4A4EB5#4A4EB5
#4A4EB5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.160 H 276.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4EB5 |
|---|---|
| RGB | rgb(74, 78, 181) |
| HSL | hsl(238, 42%, 50%) |
| HSV | hsv(238, 59%, 71%) |
| CMYK | cmyk(59.1%, 56.9%, 0%, 29%) |
| CIE-LAB | lab(38.27, 29.42, -55.35) |
| CIE-LCH | lch(38.27, 62.69, 297.99°) |
| OKLab | oklab(47.96% 0.0191 -0.1588) |
| OKLCH | oklch(47.96% 0.16 276.8) |
| XYZ | xyz(13.8862, 10.2398, 44.9518) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.96
Iris
#6258C4
ΔE00 5.13
Blue Blue
#2242C7
ΔE00 5.28
Warm Blue
#4B57DB
ΔE00 5.88
Blueberry
#464196
ΔE00 5.90
Blue With A Hint Of Purple
#533CC6
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4EB5 #B5B14A
analogous
#4A84B5 #4A4EB5 #7B4AB5
triadic
#4A4EB5 #B54A4E #4EB54A
tetradic
#4A4EB5 #B54A84 #B5B14A #4AB57B
square
#4A4EB5 #B54A84 #B5B14A #4AB57B
split-complementary
#4A4EB5 #B57B4A #84B54A
monochromatic
#26295E #383B8A #4A4EB5 #7578C7 #A1A3D9
Accessibility & contrast
On white
6.89
#4A4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#4A4EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A4EB5
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4EB5 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4a4eb5; /* rgb */ color: rgb(74, 78, 181); /* oklch */ color: oklch(48.0% 0.160 276.8);
Tailwind
colors: {
custom: {
50: '#877fcc',
500: '#4a4eb5',
950: '#000000',
},
}SCSS
$custom: #4a4eb5; $custom-light: #877fcc; $custom-dark: #000000;
JSON
{
"hex": "#4a4eb5",
"rgb": {
"r": 74,
"g": 78,
"b": 181
},
"hsl": {
"h": 237.757,
"s": 41.961,
"l": 50
},
"oklch": {
"l": 0.47956,
"c": 0.15998,
"h": 276.8
},
"luminance": 0.10241
}Semantic roles & 50–950 ramp
primary
#4A4EB5
secondary
#C5C495
accent
#CD56D2
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82