#3A4AB9#3A4AB9
#3A4AB9 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.175 H 271.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4AB9 |
|---|---|
| RGB | rgb(58, 74, 185) |
| HSL | hsl(232, 52%, 48%) |
| HSV | hsv(232, 69%, 73%) |
| CMYK | cmyk(68.6%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(36.55, 30.75, -60.54) |
| CIE-LCH | lch(36.55, 67.90, 296.92°) |
| OKLab | oklab(46.51% 0.0047 -0.1745) |
| OKLCH | oklch(46.51% 0.175 271.6) |
| XYZ | xyz(12.9477, 9.2987, 47.0020) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.18
Ocean Blue
#4F42B5
ΔE00 4.41
Blue (survey)
#0343DF
ΔE00 5.12
Cobalt
#0047AB
ΔE00 5.26
Sapphire
#0F52BA
ΔE00 5.39
Sapphire (survey)
#2138AB
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4AB9 #B9A93A
analogous
#3A89B9 #3A4AB9 #6A3AB9
triadic
#3A4AB9 #B93A4A #4AB93A
tetradic
#3A4AB9 #B93A89 #B9A93A #3AB96A
square
#3A4AB9 #B93A89 #B9A93A #3AB96A
split-complementary
#3A4AB9 #B96A3A #89B93A
monochromatic
#1D255C #2B378A #3A4AB9 #6270CE #919ADC
Accessibility & contrast
On white
7.34
#3A4AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#3A4AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4AB9
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4AB9 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3a4ab9; /* rgb */ color: rgb(58, 74, 185); /* oklch */ color: oklch(46.5% 0.175 271.6);
Tailwind
colors: {
custom: {
50: '#807ccf',
500: '#3a4ab9',
950: '#000000',
},
}SCSS
$custom: #3a4ab9; $custom-light: #807ccf; $custom-dark: #000000;
JSON
{
"hex": "#3a4ab9",
"rgb": {
"r": 58,
"g": 74,
"b": 185
},
"hsl": {
"h": 232.441,
"s": 52.263,
"l": 47.647
},
"oklch": {
"l": 0.46511,
"c": 0.17461,
"h": 271.6
},
"luminance": 0.093
}Semantic roles & 50–950 ramp
primary
#3A4AB9
secondary
#C7BF87
accent
#CA4CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82