#3A4FA4#3A4FA4
#3A4FA4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.139 H 269.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4FA4 |
|---|---|
| RGB | rgb(58, 79, 164) |
| HSL | hsl(228, 48%, 44%) |
| HSV | hsv(228, 65%, 64%) |
| CMYK | cmyk(64.6%, 51.8%, 0%, 35.7%) |
| CIE-LAB | lab(36.31, 19.94, -48.48) |
| CIE-LCH | lch(36.31, 52.42, 292.36°) |
| OKLab | oklab(45.84% -0.0006 -0.139) |
| OKLCH | oklch(45.84% 0.139 269.7) |
| XYZ | xyz(11.2395, 9.1708, 36.2926) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.56
Sapphire
#0F52BA
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.05
Denim Blue
#3B5B92
ΔE00 5.38
Dusk Blue
#26538D
ΔE00 5.86
Blueberry
#464196
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4FA4 #A48F3A
analogous
#3A84A4 #3A4FA4 #5A3AA4
triadic
#3A4FA4 #A43A4F #4FA43A
tetradic
#3A4FA4 #A43A84 #A48F3A #3AA45A
square
#3A4FA4 #A43A84 #A48F3A #3AA45A
split-complementary
#3A4FA4 #A45A3A #84A43A
monochromatic
#1A234A #2A3977 #3A4FA4 #576DC4 #8594D4
Accessibility & contrast
On white
7.41
#3A4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#3A4FA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4FA4
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4FA4 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5AA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #3a4fa4; /* rgb */ color: rgb(58, 79, 164); /* oklch */ color: oklch(45.8% 0.139 269.7);
Tailwind
colors: {
custom: {
50: '#7b80c0',
500: '#3a4fa4',
950: '#000000',
},
}SCSS
$custom: #3a4fa4; $custom-light: #7b80c0; $custom-dark: #000000;
JSON
{
"hex": "#3a4fa4",
"rgb": {
"r": 58,
"g": 79,
"b": 164
},
"hsl": {
"h": 228.113,
"s": 47.748,
"l": 43.529
},
"oklch": {
"l": 0.45838,
"c": 0.139,
"h": 269.7
},
"luminance": 0.09172
}Semantic roles & 50–950 ramp
primary
#3A4FA4
secondary
#BEB17C
accent
#BD50D7
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81