#3A419C#3A419C
#3A419C is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.146 H 275.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3A419C |
|---|---|
| RGB | rgb(58, 65, 156) |
| HSL | hsl(236, 46%, 42%) |
| HSV | hsv(236, 63%, 61%) |
| CMYK | cmyk(62.8%, 58.3%, 0%, 38.8%) |
| CIE-LAB | lab(31.99, 26.28, -50.66) |
| CIE-LCH | lch(31.99, 57.07, 297.42°) |
| OKLab | oklab(42.41% 0.0126 -0.1456) |
| OKLCH | oklch(42.41% 0.146 275) |
| XYZ | xyz(9.6340, 7.0797, 32.3049) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.44
Sapphire (survey)
#2138AB
ΔE00 4.06
Darkslateblue
#483D8B
ΔE00 4.44
Ocean Blue
#4F42B5
ΔE00 5.13
Cobalt
#0047AB
ΔE00 5.94
Blue Blue
#2242C7
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A419C #9C953A
analogous
#3A729C #3A419C #643A9C
triadic
#3A419C #9C3A41 #419C3A
tetradic
#3A419C #9C3A72 #9C953A #3A9C64
square
#3A419C #9C3A72 #9C953A #3A9C64
split-complementary
#3A419C #9C643A #729C3A
monochromatic
#191C43 #292E6F #3A419C #545CBF #8086D0
Accessibility & contrast
On white
8.69
#3A419C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#3A419C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A419C
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A419C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A419C | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a419c; /* rgb */ color: rgb(58, 65, 156); /* oklch */ color: oklch(42.4% 0.146 275.0);
Tailwind
colors: {
custom: {
50: '#7b75ba',
500: '#3a419c',
950: '#000000',
},
}SCSS
$custom: #3a419c; $custom-light: #7b75ba; $custom-dark: #000000;
JSON
{
"hex": "#3a419c",
"rgb": {
"r": 58,
"g": 65,
"b": 156
},
"hsl": {
"h": 235.714,
"s": 45.794,
"l": 41.961
},
"oklch": {
"l": 0.42409,
"c": 0.14612,
"h": 275
},
"luminance": 0.0708
}Semantic roles & 50–950 ramp
primary
#3A419C
secondary
#BAB578
accent
#CC52D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81