#3A409C#3A409C
#3A409C is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.147 H 275.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3A409C |
|---|---|
| RGB | rgb(58, 64, 156) |
| HSL | hsl(236, 46%, 42%) |
| HSV | hsv(236, 63%, 61%) |
| CMYK | cmyk(62.8%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(31.73, 26.94, -51.08) |
| CIE-LCH | lch(31.73, 57.74, 297.81°) |
| OKLab | oklab(42.22% 0.0136 -0.1468) |
| OKLCH | oklch(42.22% 0.147 275.3) |
| XYZ | xyz(9.5771, 6.9659, 32.2859) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.38
Sapphire (survey)
#2138AB
ΔE00 3.88
Darkslateblue
#483D8B
ΔE00 4.32
Ocean Blue
#4F42B5
ΔE00 5.06
Blue Blue
#2242C7
ΔE00 6.11
Cobalt
#0047AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A409C #9C963A
analogous
#3A719C #3A409C #653A9C
triadic
#3A409C #9C3A40 #409C3A
tetradic
#3A409C #9C3A71 #9C963A #3A9C65
square
#3A409C #9C3A71 #9C963A #3A9C65
split-complementary
#3A409C #9C653A #719C3A
monochromatic
#191B43 #292E6F #3A409C #545ABF #8085D0
Accessibility & contrast
On white
8.77
#3A409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#3A409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A409C
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A409C | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a409c; /* rgb */ color: rgb(58, 64, 156); /* oklch */ color: oklch(42.2% 0.147 275.3);
Tailwind
colors: {
custom: {
50: '#7b74ba',
500: '#3a409c',
950: '#000000',
},
}SCSS
$custom: #3a409c; $custom-light: #7b74ba; $custom-dark: #000000;
JSON
{
"hex": "#3a409c",
"rgb": {
"r": 58,
"g": 64,
"b": 156
},
"hsl": {
"h": 236.327,
"s": 45.794,
"l": 41.961
},
"oklch": {
"l": 0.42217,
"c": 0.14745,
"h": 275.3
},
"luminance": 0.06967
}Semantic roles & 50–950 ramp
primary
#3A409C
secondary
#BAB678
accent
#CD52D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81