#3A419A#3A419A
#3A419A is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.143 H 275.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3A419A |
|---|---|
| RGB | rgb(58, 65, 154) |
| HSL | hsl(236, 45%, 42%) |
| HSV | hsv(236, 62%, 60%) |
| CMYK | cmyk(62.3%, 57.8%, 0%, 39.6%) |
| CIE-LAB | lab(31.84, 25.58, -49.69) |
| CIE-LCH | lch(31.84, 55.89, 297.24°) |
| OKLab | oklab(42.25% 0.0126 -0.1427) |
| OKLCH | oklch(42.25% 0.143 275) |
| XYZ | xyz(9.4660, 7.0125, 31.4203) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.34
Darkslateblue
#483D8B
ΔE00 4.26
Sapphire (survey)
#2138AB
ΔE00 4.27
Ocean Blue
#4F42B5
ΔE00 5.38
Cobalt
#0047AB
ΔE00 6.03
Cobalt (survey)
#1E488F
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A419A #9A933A
analogous
#3A719A #3A419A #633A9A
triadic
#3A419A #9A3A41 #419A3A
tetradic
#3A419A #9A3A71 #9A933A #3A9A63
square
#3A419A #9A3A71 #9A933A #3A9A63
split-complementary
#3A419A #9A633A #719A3A
monochromatic
#191B41 #292E6E #3A419A #535BBE #7F85CF
Accessibility & contrast
On white
8.74
#3A419A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#3A419A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A419A
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A419A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A419A | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a419a; /* rgb */ color: rgb(58, 65, 154); /* oklch */ color: oklch(42.2% 0.143 275.0);
Tailwind
colors: {
custom: {
50: '#7a75b8',
500: '#3a419a',
950: '#000000',
},
}SCSS
$custom: #3a419a; $custom-light: #7a75b8; $custom-dark: #000000;
JSON
{
"hex": "#3a419a",
"rgb": {
"r": 58,
"g": 65,
"b": 154
},
"hsl": {
"h": 235.625,
"s": 45.283,
"l": 41.569
},
"oklch": {
"l": 0.42248,
"c": 0.14329,
"h": 275
},
"luminance": 0.07013
}Semantic roles & 50–950 ramp
primary
#3A419A
secondary
#B9B477
accent
#CB53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80