#3A479E#3A479E
#3A479E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.141 H 272.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #3A479E |
|---|---|
| RGB | rgb(58, 71, 158) |
| HSL | hsl(232, 46%, 42%) |
| HSV | hsv(232, 63%, 62%) |
| CMYK | cmyk(63.3%, 55.1%, 0%, 38%) |
| CIE-LAB | lab(33.72, 23.05, -49.06) |
| CIE-LCH | lch(33.72, 54.21, 295.17°) |
| OKLab | oklab(43.75% 0.0068 -0.1408) |
| OKLCH | oklch(43.75% 0.141 272.8) |
| XYZ | xyz(10.1677, 7.8738, 33.3251) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.61
Cobalt
#0047AB
ΔE00 4.93
Sapphire (survey)
#2138AB
ΔE00 5.27
Cobalt (survey)
#1E488F
ΔE00 5.28
Darkslateblue
#483D8B
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A479E #9E913A
analogous
#3A799E #3A479E #5F3A9E
triadic
#3A479E #9E3A47 #479E3A
tetradic
#3A479E #9E3A79 #9E913A #3A9E5F
square
#3A479E #9E3A79 #9E913A #3A9E5F
split-complementary
#3A479E #9E5F3A #799E3A
monochromatic
#191F44 #2A3371 #3A479E #5563C0 #818CD1
Accessibility & contrast
On white
8.16
#3A479E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#3A479E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A479E
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A479E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A479E | 1.00 | 8.16 | 2.58 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0954A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3a479e; /* rgb */ color: rgb(58, 71, 158); /* oklch */ color: oklch(43.8% 0.141 272.8);
Tailwind
colors: {
custom: {
50: '#7b7abb',
500: '#3a479e',
950: '#000000',
},
}SCSS
$custom: #3a479e; $custom-light: #7b7abb; $custom-dark: #000000;
JSON
{
"hex": "#3a479e",
"rgb": {
"r": 58,
"g": 71,
"b": 158
},
"hsl": {
"h": 232.2,
"s": 46.296,
"l": 42.353
},
"oklch": {
"l": 0.4375,
"c": 0.14099,
"h": 272.8
},
"luminance": 0.07875
}Semantic roles & 50–950 ramp
primary
#3A479E
secondary
#BBB279
accent
#C552D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81