#3A4AAA#3A4AAA
#3A4AAA is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.154 H 271.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4AAA |
|---|---|
| RGB | rgb(58, 74, 170) |
| HSL | hsl(231, 49%, 45%) |
| HSV | hsv(231, 66%, 67%) |
| CMYK | cmyk(65.9%, 56.5%, 0%, 33.3%) |
| CIE-LAB | lab(35.40, 25.38, -53.54) |
| CIE-LCH | lch(35.40, 59.25, 295.36°) |
| OKLab | oklab(45.29% 0.0045 -0.154) |
| OKLCH | oklch(45.29% 0.154 271.7) |
| XYZ | xyz(11.4470, 8.6984, 39.0981) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.52
Blue Blue
#2242C7
ΔE00 4.73
Blueberry
#464196
ΔE00 4.94
Ocean Blue
#4F42B5
ΔE00 5.17
Sapphire
#0F52BA
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4AAA #AA9A3A
analogous
#3A82AA #3A4AAA #623AAA
triadic
#3A4AAA #AA3A4A #4AAA3A
tetradic
#3A4AAA #AA3A82 #AA9A3A #3AAA62
square
#3A4AAA #AA3A82 #AA9A3A #3AAA62
split-complementary
#3A4AAA #AA623A #82AA3A
monochromatic
#1B224F #2A367C #3A4AAA #5A6AC7 #8893D6
Accessibility & contrast
On white
7.66
#3A4AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3A4AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4AAA
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4AAA | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3a4aaa; /* rgb */ color: rgb(58, 74, 170); /* oklch */ color: oklch(45.3% 0.154 271.7);
Tailwind
colors: {
custom: {
50: '#7d7cc4',
500: '#3a4aaa',
950: '#000000',
},
}SCSS
$custom: #3a4aaa; $custom-light: #7d7cc4; $custom-dark: #000000;
JSON
{
"hex": "#3a4aaa",
"rgb": {
"r": 58,
"g": 74,
"b": 170
},
"hsl": {
"h": 231.429,
"s": 49.123,
"l": 44.706
},
"oklch": {
"l": 0.45286,
"c": 0.15403,
"h": 271.7
},
"luminance": 0.08699
}Semantic roles & 50–950 ramp
primary
#3A4AAA
secondary
#C1B77F
accent
#C54FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82