#3A477D#3A477D
#3A477D is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.092 H 271.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3A477D |
|---|---|
| RGB | rgb(58, 71, 125) |
| HSL | hsl(228, 37%, 36%) |
| HSV | hsv(228, 54%, 49%) |
| CMYK | cmyk(53.6%, 43.2%, 0%, 51%) |
| CIE-LAB | lab(31.55, 11.39, -32.32) |
| CIE-LCH | lch(31.55, 34.27, 289.42°) |
| OKLab | oklab(41.4% 0.0027 -0.0916) |
| OKLCH | oklch(41.4% 0.092 271.7) |
| XYZ | xyz(7.6986, 6.8862, 20.3215) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.71
Dusk
#4E5481
ΔE00 5.36
Cobalt (survey)
#1E488F
ΔE00 5.54
Blueberry
#464196
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 6.47
Darkish Blue
#014182
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A477D #7D703A
analogous
#3A687D #3A477D #4E3A7D
triadic
#3A477D #7D3A47 #477D3A
tetradic
#3A477D #7D3A68 #7D703A #3A7D4E
square
#3A477D #7D3A68 #7D703A #3A7D4E
split-complementary
#3A477D #7D4E3A #687D3A
monochromatic
#131829 #272F53 #3A477D #4D5FA7 #7382BE
Accessibility & contrast
On white
8.83
#3A477D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#3A477D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A477D
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A477D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A477D | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#2A487C
Tritanopia (blue-blind)
#1C535C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3a477d; /* rgb */ color: rgb(58, 71, 125); /* oklch */ color: oklch(41.4% 0.092 271.7);
Tailwind
colors: {
custom: {
50: '#757aa3',
500: '#3a477d',
950: '#000000',
},
}SCSS
$custom: #3a477d; $custom-light: #757aa3; $custom-dark: #000000;
JSON
{
"hex": "#3a477d",
"rgb": {
"r": 58,
"g": 71,
"b": 125
},
"hsl": {
"h": 228.358,
"s": 36.612,
"l": 35.882
},
"oklch": {
"l": 0.41404,
"c": 0.09166,
"h": 271.7
},
"luminance": 0.06887
}Semantic roles & 50–950 ramp
primary
#3A477D
secondary
#A89C6B
accent
#B75BCD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F