#4A4AA2#4A4AA2
#4A4AA2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.139 H 279.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4AA2 |
|---|---|
| RGB | rgb(74, 74, 162) |
| HSL | hsl(240, 37%, 46%) |
| HSV | hsv(240, 54%, 64%) |
| CMYK | cmyk(54.3%, 54.3%, 0%, 36.5%) |
| CIE-LAB | lab(35.91, 25.63, -47.87) |
| CIE-LCH | lch(35.91, 54.30, 298.16°) |
| OKLab | oklab(45.77% 0.0227 -0.1369) |
| OKLCH | oklch(45.77% 0.139 279.4) |
| XYZ | xyz(11.7924, 8.9613, 35.2837) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.13
Ocean Blue
#4F42B5
ΔE00 4.28
Darkslateblue
#483D8B
ΔE00 5.22
Twilight
#4E518B
ΔE00 5.40
Blue Blue
#2242C7
ΔE00 6.76
Sapphire (survey)
#2138AB
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4AA2 #A2A24A
analogous
#4A76A2 #4A4AA2 #764AA2
triadic
#4A4AA2 #A24A4A #4AA24A
tetradic
#4A4AA2 #A24A76 #A2A24A #4AA276
square
#4A4AA2 #A24A76 #A2A24A #4AA276
split-complementary
#4A4AA2 #A2764A #76A24A
monochromatic
#24244E #373778 #4A4AA2 #6D6DBC #9797CF
Accessibility & contrast
On white
7.52
#4A4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#4A4AA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A4AA2
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4AA2 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1758A5
Deuteranopia (green-blind)
#0651A0
Tritanopia (blue-blind)
#225E6F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #4a4aa2; /* rgb */ color: rgb(74, 74, 162); /* oklch */ color: oklch(45.8% 0.139 279.4);
Tailwind
colors: {
custom: {
50: '#847cbe',
500: '#4a4aa2',
950: '#000000',
},
}SCSS
$custom: #4a4aa2; $custom-light: #847cbe; $custom-dark: #000000;
JSON
{
"hex": "#4a4aa2",
"rgb": {
"r": 74,
"g": 74,
"b": 162
},
"hsl": {
"h": 240,
"s": 37.288,
"l": 46.275
},
"oklch": {
"l": 0.4577,
"c": 0.13874,
"h": 279.4
},
"luminance": 0.08962
}Semantic roles & 50–950 ramp
primary
#4A4AA2
secondary
#BCBC8C
accent
#CD5BCD
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0912
muted
#7C7B81