#3A477C#3A477C
#3A477C is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.090 H 271.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3A477C |
|---|---|
| RGB | rgb(58, 71, 124) |
| HSL | hsl(228, 36%, 36%) |
| HSV | hsv(228, 53%, 49%) |
| CMYK | cmyk(53.2%, 42.7%, 0%, 51.4%) |
| CIE-LAB | lab(31.49, 11.05, -31.79) |
| CIE-LCH | lch(31.49, 33.65, 289.17°) |
| OKLab | oklab(41.34% 0.0025 -0.0901) |
| OKLCH | oklch(41.34% 0.09 271.6) |
| XYZ | xyz(7.6351, 6.8608, 19.9868) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.76
Dusk
#4E5481
ΔE00 5.31
Cobalt (survey)
#1E488F
ΔE00 5.64
Blueberry
#464196
ΔE00 6.37
Darkslateblue
#483D8B
ΔE00 6.58
Darkish Blue
#014182
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A477C #7C6F3A
analogous
#3A687C #3A477C #4E3A7C
triadic
#3A477C #7C3A47 #477C3A
tetradic
#3A477C #7C3A68 #7C6F3A #3A7C4E
square
#3A477C #7C3A68 #7C6F3A #3A7C4E
split-complementary
#3A477C #7C4E3A #687C3A
monochromatic
#131729 #262F52 #3A477C #4E5FA6 #7382BD
Accessibility & contrast
On white
8.85
#3A477C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#3A477C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A477C
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A477C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A477C | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#2B477B
Tritanopia (blue-blind)
#1D525B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3a477c; /* rgb */ color: rgb(58, 71, 124); /* oklch */ color: oklch(41.3% 0.090 271.6);
Tailwind
colors: {
custom: {
50: '#757aa2',
500: '#3a477c',
950: '#000000',
},
}SCSS
$custom: #3a477c; $custom-light: #757aa2; $custom-dark: #000000;
JSON
{
"hex": "#3a477c",
"rgb": {
"r": 58,
"g": 71,
"b": 124
},
"hsl": {
"h": 228.182,
"s": 36.264,
"l": 35.686
},
"oklch": {
"l": 0.4134,
"c": 0.0901,
"h": 271.6
},
"luminance": 0.06861
}Semantic roles & 50–950 ramp
primary
#3A477C
secondary
#A79B6B
accent
#B65CCC
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#09090F
muted
#7B7B7F