#3A477A#3A477A
#3A477A is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.087 H 271.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3A477A |
|---|---|
| RGB | rgb(58, 71, 122) |
| HSL | hsl(228, 36%, 35%) |
| HSV | hsv(228, 52%, 48%) |
| CMYK | cmyk(52.5%, 41.8%, 0%, 52.2%) |
| CIE-LAB | lab(31.37, 10.36, -30.72) |
| CIE-LCH | lch(31.37, 32.43, 288.64°) |
| OKLab | oklab(41.21% 0.0021 -0.087) |
| OKLCH | oklch(41.21% 0.087 271.4) |
| XYZ | xyz(7.5099, 6.8107, 19.3274) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.89
Dusk
#4E5481
ΔE00 5.23
Cobalt (survey)
#1E488F
ΔE00 5.86
Blueberry
#464196
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 6.82
Darkish Blue
#014182
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A477A #7A6D3A
analogous
#3A677A #3A477A #4D3A7A
triadic
#3A477A #7A3A47 #477A3A
tetradic
#3A477A #7A3A67 #7A6D3A #3A7A4D
square
#3A477A #7A3A67 #7A6D3A #3A7A4D
split-complementary
#3A477A #7A4D3A #677A3A
monochromatic
#131727 #262F51 #3A477A #4E5FA3 #7281BC
Accessibility & contrast
On white
8.89
#3A477A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#3A477A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A477A
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A477A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A477A | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#2C4779
Tritanopia (blue-blind)
#1F525A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3a477a; /* rgb */ color: rgb(58, 71, 122); /* oklch */ color: oklch(41.2% 0.087 271.4);
Tailwind
colors: {
custom: {
50: '#757aa1',
500: '#3a477a',
950: '#000000',
},
}SCSS
$custom: #3a477a; $custom-light: #757aa1; $custom-dark: #000000;
JSON
{
"hex": "#3a477a",
"rgb": {
"r": 58,
"g": 71,
"b": 122
},
"hsl": {
"h": 227.813,
"s": 35.556,
"l": 35.294
},
"oklch": {
"l": 0.41214,
"c": 0.08698,
"h": 271.4
},
"luminance": 0.06811
}Semantic roles & 50–950 ramp
primary
#3A477A
secondary
#A69A6A
accent
#B55CCC
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090F
muted
#7B7B7E