#4A519C#4A519C
#4A519C is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.7% C 0.120 H 276.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4A519C |
|---|---|
| RGB | rgb(74, 81, 156) |
| HSL | hsl(235, 36%, 45%) |
| HSV | hsv(235, 53%, 61%) |
| CMYK | cmyk(52.6%, 48.1%, 0%, 38.8%) |
| CIE-LAB | lab(37.37, 19.13, -41.92) |
| CIE-LCH | lch(37.37, 46.08, 294.53°) |
| OKLab | oklab(46.75% 0.014 -0.1193) |
| OKLCH | oklch(46.75% 0.12 276.7) |
| XYZ | xyz(11.7653, 9.7403, 32.7061) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.54
Blueberry
#464196
ΔE00 5.18
Dusky Blue
#475F94
ΔE00 5.82
Dusk
#4E5481
ΔE00 5.91
Denim Blue
#3B5B92
ΔE00 6.21
Darkslateblue
#483D8B
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A519C #9C954A
analogous
#4A7A9C #4A519C #6C4A9C
triadic
#4A519C #9C4A51 #519C4A
tetradic
#4A519C #9C4A7A #9C954A #4A9C6C
square
#4A519C #9C4A7A #9C954A #4A9C6C
split-complementary
#4A519C #9C6C4A #7A9C4A
monochromatic
#232649 #363B72 #4A519C #6B71B9 #9499CC
Accessibility & contrast
On white
7.12
#4A519C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#4A519C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A519C
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A519C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A519C | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5B9F
Deuteranopia (green-blind)
#27559A
Tritanopia (blue-blind)
#27616F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4a519c; /* rgb */ color: rgb(74, 81, 156); /* oklch */ color: oklch(46.7% 0.120 276.7);
Tailwind
colors: {
custom: {
50: '#8281ba',
500: '#4a519c',
950: '#000000',
},
}SCSS
$custom: #4a519c; $custom-light: #8281ba; $custom-dark: #000000;
JSON
{
"hex": "#4a519c",
"rgb": {
"r": 74,
"g": 81,
"b": 156
},
"hsl": {
"h": 234.878,
"s": 35.652,
"l": 45.098
},
"oklch": {
"l": 0.46745,
"c": 0.12013,
"h": 276.7
},
"luminance": 0.09741
}Semantic roles & 50–950 ramp
primary
#4A519C
secondary
#B8B489
accent
#C25CCC
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80