#3A477E#3A477E
#3A477E is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.5% C 0.093 H 271.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3A477E |
|---|---|
| RGB | rgb(58, 71, 126) |
| HSL | hsl(229, 37%, 36%) |
| HSV | hsv(229, 54%, 49%) |
| CMYK | cmyk(54%, 43.7%, 0%, 50.6%) |
| CIE-LAB | lab(31.61, 11.74, -32.85) |
| CIE-LCH | lch(31.61, 34.88, 289.67°) |
| OKLab | oklab(41.47% 0.0029 -0.0932) |
| OKLCH | oklch(41.47% 0.093 271.8) |
| XYZ | xyz(7.7628, 6.9119, 20.6597) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.66
Dusk
#4E5481
ΔE00 5.41
Cobalt (survey)
#1E488F
ΔE00 5.44
Blueberry
#464196
ΔE00 6.07
Darkslateblue
#483D8B
ΔE00 6.36
Darkish Blue
#014182
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A477E #7E713A
analogous
#3A697E #3A477E #4F3A7E
triadic
#3A477E #7E3A47 #477E3A
tetradic
#3A477E #7E3A69 #7E713A #3A7E4F
square
#3A477E #7E3A69 #7E713A #3A7E4F
split-complementary
#3A477E #7E4F3A #697E3A
monochromatic
#13182A #272F54 #3A477E #4D5FA8 #7482BF
Accessibility & contrast
On white
8.81
#3A477E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#3A477E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A477E
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A477E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A477E | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#29487D
Tritanopia (blue-blind)
#1B535C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3a477e; /* rgb */ color: rgb(58, 71, 126); /* oklch */ color: oklch(41.5% 0.093 271.8);
Tailwind
colors: {
custom: {
50: '#757aa4',
500: '#3a477e',
950: '#000000',
},
}SCSS
$custom: #3a477e; $custom-light: #757aa4; $custom-dark: #000000;
JSON
{
"hex": "#3a477e",
"rgb": {
"r": 58,
"g": 71,
"b": 126
},
"hsl": {
"h": 228.529,
"s": 36.957,
"l": 36.078
},
"oklch": {
"l": 0.41469,
"c": 0.09321,
"h": 271.8
},
"luminance": 0.06912
}Semantic roles & 50–950 ramp
primary
#3A477E
secondary
#A89D6C
accent
#B75BCD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F