#3A46AB#3A46AB
#3A46AB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.161 H 272.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3A46AB |
|---|---|
| RGB | rgb(58, 70, 171) |
| HSL | hsl(234, 49%, 45%) |
| HSV | hsv(234, 66%, 67%) |
| CMYK | cmyk(66.1%, 59.1%, 0%, 32.9%) |
| CIE-LAB | lab(34.44, 28.34, -55.70) |
| CIE-LCH | lch(34.44, 62.49, 296.97°) |
| OKLab | oklab(44.59% 0.0081 -0.1603) |
| OKLCH | oklch(44.59% 0.161 272.9) |
| XYZ | xyz(11.2833, 8.2191, 39.5120) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.12
Ocean Blue
#4F42B5
ΔE00 4.21
Blueberry
#464196
ΔE00 4.28
Sapphire (survey)
#2138AB
ΔE00 4.38
Cobalt
#0047AB
ΔE00 4.96
Sapphire
#0F52BA
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A46AB #AB9F3A
analogous
#3A7FAB #3A46AB #663AAB
triadic
#3A46AB #AB3A46 #46AB3A
tetradic
#3A46AB #AB3A7F #AB9F3A #3AAB66
square
#3A46AB #AB3A7F #AB9F3A #3AAB66
split-complementary
#3A46AB #AB663A #7FAB3A
monochromatic
#1B2150 #2A337D #3A46AB #5B66C7 #8991D7
Accessibility & contrast
On white
7.94
#3A46AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#3A46AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A46AB
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A46AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A46AB | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3a46ab; /* rgb */ color: rgb(58, 70, 171); /* oklch */ color: oklch(44.6% 0.161 272.9);
Tailwind
colors: {
custom: {
50: '#7d79c5',
500: '#3a46ab',
950: '#000000',
},
}SCSS
$custom: #3a46ab; $custom-light: #7d79c5; $custom-dark: #000000;
JSON
{
"hex": "#3a46ab",
"rgb": {
"r": 58,
"g": 70,
"b": 171
},
"hsl": {
"h": 233.628,
"s": 49.345,
"l": 44.902
},
"oklch": {
"l": 0.44593,
"c": 0.16056,
"h": 272.9
},
"luminance": 0.0822
}Semantic roles & 50–950 ramp
primary
#3A46AB
secondary
#C1BA80
accent
#CA4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82