#3A4FA9#3A4FA9
#3A4FA9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.146 H 269.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4FA9 |
|---|---|
| RGB | rgb(58, 79, 169) |
| HSL | hsl(229, 49%, 45%) |
| HSV | hsv(229, 66%, 66%) |
| CMYK | cmyk(65.7%, 53.3%, 0%, 33.7%) |
| CIE-LAB | lab(36.66, 21.75, -50.90) |
| CIE-LCH | lch(36.66, 55.35, 293.13°) |
| OKLab | oklab(46.21% -0.0002 -0.1461) |
| OKLCH | oklch(46.21% 0.146 269.9) |
| XYZ | xyz(11.6999, 9.3550, 38.7175) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.37
Cobalt
#0047AB
ΔE00 4.52
Cobalt (survey)
#1E488F
ΔE00 5.55
Denim Blue
#3B5B92
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 5.83
Blueberry
#464196
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4FA9 #A9943A
analogous
#3A87A9 #3A4FA9 #5D3AA9
triadic
#3A4FA9 #A93A4F #4FA93A
tetradic
#3A4FA9 #A93A87 #A9943A #3AA95D
square
#3A4FA9 #A93A87 #A9943A #3AA95D
split-complementary
#3A4FA9 #A95D3A #87A93A
monochromatic
#1B244E #2A3A7B #3A4FA9 #5A6EC6 #8796D6
Accessibility & contrast
On white
7.31
#3A4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#3A4FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4FA9
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4FA9 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155BAC
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3a4fa9; /* rgb */ color: rgb(58, 79, 169); /* oklch */ color: oklch(46.2% 0.146 269.9);
Tailwind
colors: {
custom: {
50: '#7c80c3',
500: '#3a4fa9',
950: '#000000',
},
}SCSS
$custom: #3a4fa9; $custom-light: #7c80c3; $custom-dark: #000000;
JSON
{
"hex": "#3a4fa9",
"rgb": {
"r": 58,
"g": 79,
"b": 169
},
"hsl": {
"h": 228.649,
"s": 48.899,
"l": 44.51
},
"oklch": {
"l": 0.46212,
"c": 0.14613,
"h": 269.9
},
"luminance": 0.09356
}Semantic roles & 50–950 ramp
primary
#3A4FA9
secondary
#C0B47F
accent
#BF4FD8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82