#3A409F#3A409F
#3A409F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.152 H 275.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3A409F |
|---|---|
| RGB | rgb(58, 64, 159) |
| HSL | hsl(236, 47%, 43%) |
| HSV | hsv(236, 64%, 62%) |
| CMYK | cmyk(63.5%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(31.96, 28.00, -52.51) |
| CIE-LCH | lch(31.96, 59.51, 298.06°) |
| OKLab | oklab(42.46% 0.0136 -0.151) |
| OKLCH | oklch(42.46% 0.152 275.1) |
| XYZ | xyz(9.8343, 7.0687, 33.6403) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.61
Sapphire (survey)
#2138AB
ΔE00 3.60
Darkslateblue
#483D8B
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 4.69
Blue Blue
#2242C7
ΔE00 5.67
Cobalt
#0047AB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A409F #9F993A
analogous
#3A729F #3A409F #673A9F
triadic
#3A409F #9F3A40 #409F3A
tetradic
#3A409F #9F3A72 #9F993A #3A9F67
square
#3A409F #9F3A72 #9F993A #3A9F67
split-complementary
#3A409F #9F673A #729F3A
monochromatic
#191C45 #2A2E72 #3A409F #555CC1 #8287D1
Accessibility & contrast
On white
8.70
#3A409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#3A409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A409F
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A409F | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a409f; /* rgb */ color: rgb(58, 64, 159); /* oklch */ color: oklch(42.5% 0.152 275.1);
Tailwind
colors: {
custom: {
50: '#7b74bc',
500: '#3a409f',
950: '#000000',
},
}SCSS
$custom: #3a409f; $custom-light: #7b74bc; $custom-dark: #000000;
JSON
{
"hex": "#3a409f",
"rgb": {
"r": 58,
"g": 64,
"b": 159
},
"hsl": {
"h": 236.436,
"s": 46.544,
"l": 42.549
},
"oklch": {
"l": 0.42464,
"c": 0.15165,
"h": 275.1
},
"luminance": 0.0707
}Semantic roles & 50–950 ramp
primary
#3A409F
secondary
#BBB77A
accent
#CE52D6
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0812
muted
#7C7B81