#3A429B#3A429B
#3A429B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.143 H 274.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3A429B |
|---|---|
| RGB | rgb(58, 66, 155) |
| HSL | hsl(235, 46%, 42%) |
| HSV | hsv(235, 63%, 61%) |
| CMYK | cmyk(62.6%, 57.4%, 0%, 39.2%) |
| CIE-LAB | lab(32.17, 25.27, -49.75) |
| CIE-LCH | lch(32.17, 55.80, 296.93°) |
| OKLab | oklab(42.52% 0.0116 -0.1429) |
| OKLCH | oklch(42.52% 0.143 274.7) |
| XYZ | xyz(9.6076, 7.1618, 31.8801) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.50
Sapphire (survey)
#2138AB
ΔE00 4.35
Darkslateblue
#483D8B
ΔE00 4.50
Ocean Blue
#4F42B5
ΔE00 5.35
Cobalt
#0047AB
ΔE00 5.80
Cobalt (survey)
#1E488F
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A429B #9B933A
analogous
#3A739B #3A429B #633A9B
triadic
#3A429B #9B3A42 #429B3A
tetradic
#3A429B #9B3A73 #9B933A #3A9B63
square
#3A429B #9B3A73 #9B933A #3A9B63
split-complementary
#3A429B #9B633A #739B3A
monochromatic
#191C42 #292F6E #3A429B #535CBF #8087CF
Accessibility & contrast
On white
8.63
#3A429B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#3A429B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A429B
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A429B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A429B | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #3a429b; /* rgb */ color: rgb(58, 66, 155); /* oklch */ color: oklch(42.5% 0.143 274.7);
Tailwind
colors: {
custom: {
50: '#7a76b9',
500: '#3a429b',
950: '#000000',
},
}SCSS
$custom: #3a429b; $custom-light: #7a76b9; $custom-dark: #000000;
JSON
{
"hex": "#3a429b",
"rgb": {
"r": 58,
"g": 66,
"b": 155
},
"hsl": {
"h": 235.052,
"s": 45.54,
"l": 41.765
},
"oklch": {
"l": 0.42523,
"c": 0.14337,
"h": 274.7
},
"luminance": 0.07163
}Semantic roles & 50–950 ramp
primary
#3A429B
secondary
#B9B478
accent
#CA53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80