#3A4DAB#3A4DAB
#3A4DAB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.152 H 270.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4DAB |
|---|---|
| RGB | rgb(58, 77, 171) |
| HSL | hsl(230, 49%, 45%) |
| HSV | hsv(230, 66%, 67%) |
| CMYK | cmyk(66.1%, 55%, 0%, 32.9%) |
| CIE-LAB | lab(36.26, 23.78, -52.73) |
| CIE-LCH | lch(36.26, 57.84, 294.27°) |
| OKLab | oklab(45.96% 0.0018 -0.1515) |
| OKLCH | oklch(45.96% 0.152 270.7) |
| XYZ | xyz(11.7470, 9.1465, 39.6666) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.46
Sapphire
#0F52BA
ΔE00 4.69
Blue Blue
#2242C7
ΔE00 5.17
Blueberry
#464196
ΔE00 5.73
Cobalt (survey)
#1E488F
ΔE00 5.82
Ocean Blue
#4F42B5
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4DAB #AB983A
analogous
#3A85AB #3A4DAB #603AAB
triadic
#3A4DAB #AB3A4D #4DAB3A
tetradic
#3A4DAB #AB3A85 #AB983A #3AAB60
square
#3A4DAB #AB3A85 #AB983A #3AAB60
split-complementary
#3A4DAB #AB603A #85AB3A
monochromatic
#1B2450 #2A387D #3A4DAB #5B6DC7 #8996D7
Accessibility & contrast
On white
7.42
#3A4DAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#3A4DAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4DAB
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4DAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4DAB | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#045BAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #3a4dab; /* rgb */ color: rgb(58, 77, 171); /* oklch */ color: oklch(46.0% 0.152 270.7);
Tailwind
colors: {
custom: {
50: '#7d7ec5',
500: '#3a4dab',
950: '#000000',
},
}SCSS
$custom: #3a4dab; $custom-light: #7d7ec5; $custom-dark: #000000;
JSON
{
"hex": "#3a4dab",
"rgb": {
"r": 58,
"g": 77,
"b": 171
},
"hsl": {
"h": 229.912,
"s": 49.345,
"l": 44.902
},
"oklch": {
"l": 0.4596,
"c": 0.15154,
"h": 270.7
},
"luminance": 0.09148
}Semantic roles & 50–950 ramp
primary
#3A4DAB
secondary
#C1B680
accent
#C24FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82