#3A4FAB#3A4FAB
#3A4FAB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.149 H 270.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4FAB |
|---|---|
| RGB | rgb(58, 79, 171) |
| HSL | hsl(229, 49%, 45%) |
| HSV | hsv(229, 66%, 67%) |
| CMYK | cmyk(66.1%, 53.8%, 0%, 32.9%) |
| CIE-LAB | lab(36.80, 22.47, -51.86) |
| CIE-LCH | lch(36.80, 56.52, 293.42°) |
| OKLab | oklab(46.36% 0 -0.149) |
| OKLCH | oklch(46.36% 0.149 270) |
| XYZ | xyz(11.8891, 9.4307, 39.7139) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.30
Cobalt
#0047AB
ΔE00 4.54
Blue Blue
#2242C7
ΔE00 5.61
Cobalt (survey)
#1E488F
ΔE00 5.76
Denim Blue
#3B5B92
ΔE00 5.94
Blueberry
#464196
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4FAB #AB963A
analogous
#3A87AB #3A4FAB #5E3AAB
triadic
#3A4FAB #AB3A4F #4FAB3A
tetradic
#3A4FAB #AB3A87 #AB963A #3AAB5E
square
#3A4FAB #AB3A87 #AB963A #3AAB5E
split-complementary
#3A4FAB #AB5E3A #87AB3A
monochromatic
#1B2550 #2A3A7D #3A4FAB #5B6FC7 #8997D7
Accessibility & contrast
On white
7.28
#3A4FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#3A4FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4FAB
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4FAB | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3a4fab; /* rgb */ color: rgb(58, 79, 171); /* oklch */ color: oklch(46.4% 0.149 270.0);
Tailwind
colors: {
custom: {
50: '#7d80c5',
500: '#3a4fab',
950: '#000000',
},
}SCSS
$custom: #3a4fab; $custom-light: #7d80c5; $custom-dark: #000000;
JSON
{
"hex": "#3a4fab",
"rgb": {
"r": 58,
"g": 79,
"b": 171
},
"hsl": {
"h": 228.85,
"s": 49.345,
"l": 44.902
},
"oklch": {
"l": 0.46363,
"c": 0.14896,
"h": 270
},
"luminance": 0.09432
}Semantic roles & 50–950 ramp
primary
#3A4FAB
secondary
#C1B580
accent
#BF4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82