#4A4AAA#4A4AAA
#4A4AAA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.150 H 278.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4AAA |
|---|---|
| RGB | rgb(74, 74, 170) |
| HSL | hsl(240, 39%, 48%) |
| HSV | hsv(240, 56%, 67%) |
| CMYK | cmyk(56.5%, 56.5%, 0%, 33.3%) |
| CIE-LAB | lab(36.47, 28.28, -51.75) |
| CIE-LCH | lch(36.47, 58.97, 298.66°) |
| OKLab | oklab(46.37% 0.023 -0.1483) |
| OKLCH | oklch(46.37% 0.15 278.8) |
| XYZ | xyz(12.5262, 9.2549, 39.1487) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.36
Blueberry
#464196
ΔE00 3.91
Blue Blue
#2242C7
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 6.11
Blue With A Hint Of Purple
#533CC6
ΔE00 6.13
Iris
#6258C4
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4AAA #AAAA4A
analogous
#4A7AAA #4A4AAA #7A4AAA
triadic
#4A4AAA #AA4A4A #4AAA4A
tetradic
#4A4AAA #AA4A7A #AAAA4A #4AAA7A
square
#4A4AAA #AA4A7A #AAAA4A #4AAA7A
split-complementary
#4A4AAA #AA7A4A #7AAA4A
monochromatic
#252555 #37377F #4A4AAA #7070C1 #9B9BD3
Accessibility & contrast
On white
7.37
#4A4AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#4A4AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A4AAA
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4AAA | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#015AAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#186072
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4a4aaa; /* rgb */ color: rgb(74, 74, 170); /* oklch */ color: oklch(46.4% 0.150 278.8);
Tailwind
colors: {
custom: {
50: '#857cc4',
500: '#4a4aaa',
950: '#000000',
},
}SCSS
$custom: #4a4aaa; $custom-light: #857cc4; $custom-dark: #000000;
JSON
{
"hex": "#4a4aaa",
"rgb": {
"r": 74,
"g": 74,
"b": 170
},
"hsl": {
"h": 240,
"s": 39.344,
"l": 47.843
},
"oklch": {
"l": 0.46367,
"c": 0.15004,
"h": 278.8
},
"luminance": 0.09256
}Semantic roles & 50–950 ramp
primary
#4A4AAA
secondary
#C0C090
accent
#CF59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82