#4A4A8D#4A4A8D
#4A4A8D is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.3% C 0.108 H 281.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4A8D |
|---|---|
| RGB | rgb(74, 74, 141) |
| HSL | hsl(240, 31%, 42%) |
| HSV | hsv(240, 48%, 55%) |
| CMYK | cmyk(47.5%, 47.5%, 0%, 44.7%) |
| CIE-LAB | lab(34.55, 18.77, -37.34) |
| CIE-LCH | lch(34.55, 41.79, 296.69°) |
| OKLab | oklab(44.31% 0.0207 -0.1059) |
| OKLCH | oklch(44.31% 0.108 281.1) |
| XYZ | xyz(10.0791, 8.2760, 26.2605) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.61
Blueberry
#464196
ΔE00 3.78
Darkslateblue
#483D8B
ΔE00 4.32
Dusk
#4E5481
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 7.59
Cobalt (survey)
#1E488F
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4A8D #8D8D4A
analogous
#4A6C8D #4A4A8D #6C4A8D
triadic
#4A4A8D #8D4A4A #4A8D4A
tetradic
#4A4A8D #8D4A6C #8D8D4A #4A8D6C
square
#4A4A8D #8D4A6C #8D8D4A #4A8D6C
split-complementary
#4A4A8D #8D6C4A #6C8D4A
monochromatic
#20203D #353565 #4A4A8D #6666AF #8E8EC4
Accessibility & contrast
On white
7.91
#4A4A8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#4A4A8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A4A8D
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4A8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4A8D | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F548F
Deuteranopia (green-blind)
#2A4F8B
Tritanopia (blue-blind)
#335864
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4a4a8d; /* rgb */ color: rgb(74, 74, 141); /* oklch */ color: oklch(44.3% 0.108 281.1);
Tailwind
colors: {
custom: {
50: '#817caf',
500: '#4a4a8d',
950: '#000000',
},
}SCSS
$custom: #4a4a8d; $custom-light: #817caf; $custom-dark: #000000;
JSON
{
"hex": "#4a4a8d",
"rgb": {
"r": 74,
"g": 74,
"b": 141
},
"hsl": {
"h": 240,
"s": 31.163,
"l": 42.157
},
"oklch": {
"l": 0.44311,
"c": 0.1079,
"h": 281.1
},
"luminance": 0.08276
}Semantic roles & 50–950 ramp
primary
#4A4A8D
secondary
#B0B083
accent
#C760C7
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F