#3A419B#3A419B
#3A419B is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.145 H 275.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3A419B |
|---|---|
| RGB | rgb(58, 65, 155) |
| HSL | hsl(236, 46%, 42%) |
| HSV | hsv(236, 63%, 61%) |
| CMYK | cmyk(62.6%, 58.1%, 0%, 39.2%) |
| CIE-LAB | lab(31.91, 25.93, -50.17) |
| CIE-LCH | lch(31.91, 56.48, 297.33°) |
| OKLab | oklab(42.33% 0.0126 -0.1442) |
| OKLCH | oklch(42.33% 0.145 275) |
| XYZ | xyz(9.5497, 7.0459, 31.8607) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.39
Sapphire (survey)
#2138AB
ΔE00 4.16
Darkslateblue
#483D8B
ΔE00 4.35
Ocean Blue
#4F42B5
ΔE00 5.25
Cobalt
#0047AB
ΔE00 5.98
Blue Blue
#2242C7
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A419B #9B943A
analogous
#3A729B #3A419B #643A9B
triadic
#3A419B #9B3A41 #419B3A
tetradic
#3A419B #9B3A72 #9B943A #3A9B64
square
#3A419B #9B3A72 #9B943A #3A9B64
split-complementary
#3A419B #9B643A #729B3A
monochromatic
#191C42 #292E6E #3A419B #535BBF #8086CF
Accessibility & contrast
On white
8.72
#3A419B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#3A419B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A419B
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A419B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A419B | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a419b; /* rgb */ color: rgb(58, 65, 155); /* oklch */ color: oklch(42.3% 0.145 275.0);
Tailwind
colors: {
custom: {
50: '#7b75b9',
500: '#3a419b',
950: '#000000',
},
}SCSS
$custom: #3a419b; $custom-light: #7b75b9; $custom-dark: #000000;
JSON
{
"hex": "#3a419b",
"rgb": {
"r": 58,
"g": 65,
"b": 155
},
"hsl": {
"h": 235.67,
"s": 45.54,
"l": 41.765
},
"oklch": {
"l": 0.42328,
"c": 0.14471,
"h": 275
},
"luminance": 0.07047
}Semantic roles & 50–950 ramp
primary
#3A419B
secondary
#B9B478
accent
#CC53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80