#3A4AAF#3A4AAF
#3A4AAF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.161 H 271.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4AAF |
|---|---|
| RGB | rgb(58, 74, 175) |
| HSL | hsl(232, 50%, 46%) |
| HSV | hsv(232, 67%, 69%) |
| CMYK | cmyk(66.9%, 57.7%, 0%, 31.4%) |
| CIE-LAB | lab(35.77, 27.17, -55.90) |
| CIE-LCH | lch(35.77, 62.16, 295.92°) |
| OKLab | oklab(45.69% 0.0047 -0.1609) |
| OKLCH | oklch(45.69% 0.161 271.7) |
| XYZ | xyz(11.9290, 8.8912, 41.6366) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.14
Cobalt
#0047AB
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 5.31
Blueberry
#464196
ΔE00 5.32
Sapphire (survey)
#2138AB
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4AAF #AF9F3A
analogous
#3A84AF #3A4AAF #643AAF
triadic
#3A4AAF #AF3A4A #4AAF3A
tetradic
#3A4AAF #AF3A84 #AF9F3A #3AAF64
square
#3A4AAF #AF3A84 #AF9F3A #3AAF64
split-complementary
#3A4AAF #AF643A #84AF3A
monochromatic
#1C2353 #2B3781 #3A4AAF #5D6CC9 #8B95D9
Accessibility & contrast
On white
7.56
#3A4AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#3A4AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4AAF
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4AAF | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3a4aaf; /* rgb */ color: rgb(58, 74, 175); /* oklch */ color: oklch(45.7% 0.161 271.7);
Tailwind
colors: {
custom: {
50: '#7e7cc8',
500: '#3a4aaf',
950: '#000000',
},
}SCSS
$custom: #3a4aaf; $custom-light: #7e7cc8; $custom-dark: #000000;
JSON
{
"hex": "#3a4aaf",
"rgb": {
"r": 58,
"g": 74,
"b": 175
},
"hsl": {
"h": 231.795,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.45687,
"c": 0.16097,
"h": 271.7
},
"luminance": 0.08892
}Semantic roles & 50–950 ramp
primary
#3A4AAF
secondary
#C3BA82
accent
#C74EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82