#4A4EA6#4A4EA6
#4A4EA6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.139 H 277.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4EA6 |
|---|---|
| RGB | rgb(74, 78, 166) |
| HSL | hsl(237, 38%, 47%) |
| HSV | hsv(237, 55%, 65%) |
| CMYK | cmyk(55.4%, 53%, 0%, 34.9%) |
| CIE-LAB | lab(37.22, 24.39, -48.16) |
| CIE-LCH | lch(37.22, 53.98, 296.86°) |
| OKLab | oklab(46.84% 0.0185 -0.1377) |
| OKLCH | oklch(46.84% 0.139 277.6) |
| XYZ | xyz(12.4292, 9.6570, 37.2780) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.50
Ocean Blue
#4F42B5
ΔE00 4.90
Twilight
#4E518B
ΔE00 5.39
Iris
#6258C4
ΔE00 6.42
Darkslateblue
#483D8B
ΔE00 6.57
Blue Blue
#2242C7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4EA6 #A6A24A
analogous
#4A7CA6 #4A4EA6 #744AA6
triadic
#4A4EA6 #A64A4E #4EA64A
tetradic
#4A4EA6 #A64A7C #A6A24A #4AA674
square
#4A4EA6 #A64A7C #A6A24A #4AA674
split-complementary
#4A4EA6 #A6744A #7CA64A
monochromatic
#242651 #373A7C #4A4EA6 #6F72BF #999BD1
Accessibility & contrast
On white
7.16
#4A4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#4A4EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A4EA6
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4EA6 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D5BA9
Deuteranopia (green-blind)
#0C54A4
Tritanopia (blue-blind)
#1D6272
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4a4ea6; /* rgb */ color: rgb(74, 78, 166); /* oklch */ color: oklch(46.8% 0.139 277.6);
Tailwind
colors: {
custom: {
50: '#847fc1',
500: '#4a4ea6',
950: '#000000',
},
}SCSS
$custom: #4a4ea6; $custom-light: #847fc1; $custom-dark: #000000;
JSON
{
"hex": "#4a4ea6",
"rgb": {
"r": 74,
"g": 78,
"b": 166
},
"hsl": {
"h": 237.391,
"s": 38.333,
"l": 47.059
},
"oklch": {
"l": 0.46838,
"c": 0.13889,
"h": 277.6
},
"luminance": 0.09658
}Semantic roles & 50–950 ramp
primary
#4A4EA6
secondary
#BEBC8E
accent
#C95ACE
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0A12
muted
#7C7C81