#3A46A2#3A46A2
#3A46A2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.148 H 273.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3A46A2 |
|---|---|
| RGB | rgb(58, 70, 162) |
| HSL | hsl(233, 47%, 43%) |
| HSV | hsv(233, 64%, 64%) |
| CMYK | cmyk(64.2%, 56.8%, 0%, 36.5%) |
| CIE-LAB | lab(33.75, 25.14, -51.42) |
| CIE-LCH | lch(33.75, 57.24, 296.05°) |
| OKLab | oklab(43.86% 0.008 -0.1478) |
| OKLCH | oklch(43.86% 0.148 273.1) |
| XYZ | xyz(10.4545, 7.8876, 35.1469) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.56
Sapphire (survey)
#2138AB
ΔE00 4.72
Cobalt
#0047AB
ΔE00 4.93
Ocean Blue
#4F42B5
ΔE00 5.07
Blue Blue
#2242C7
ΔE00 5.35
Darkslateblue
#483D8B
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A46A2 #A2963A
analogous
#3A7AA2 #3A46A2 #623AA2
triadic
#3A46A2 #A23A46 #46A23A
tetradic
#3A46A2 #A23A7A #A2963A #3AA262
square
#3A46A2 #A23A7A #A2963A #3AA262
split-complementary
#3A46A2 #A2623A #7AA23A
monochromatic
#1A1F48 #2A3375 #3A46A2 #5763C3 #848DD3
Accessibility & contrast
On white
8.15
#3A46A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#3A46A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A46A2
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A46A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A46A2 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3a46a2; /* rgb */ color: rgb(58, 70, 162); /* oklch */ color: oklch(43.9% 0.148 273.1);
Tailwind
colors: {
custom: {
50: '#7c79be',
500: '#3a46a2',
950: '#000000',
},
}SCSS
$custom: #3a46a2; $custom-light: #7c79be; $custom-dark: #000000;
JSON
{
"hex": "#3a46a2",
"rgb": {
"r": 58,
"g": 70,
"b": 162
},
"hsl": {
"h": 233.077,
"s": 47.273,
"l": 43.137
},
"oklch": {
"l": 0.43865,
"c": 0.14799,
"h": 273.1
},
"luminance": 0.07888
}Semantic roles & 50–950 ramp
primary
#3A46A2
secondary
#BDB57B
accent
#C751D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0912
muted
#7C7B81