#3A507B#3A507B
#3A507B is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.077 H 262.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3A507B |
|---|---|
| RGB | rgb(58, 80, 123) |
| HSL | hsl(220, 36%, 35%) |
| HSV | hsv(220, 53%, 48%) |
| CMYK | cmyk(52.8%, 35%, 0%, 51.8%) |
| CIE-LAB | lab(34.12, 4.78, -27.01) |
| CIE-LCH | lch(34.12, 27.43, 280.04°) |
| OKLab | oklab(43.36% -0.0094 -0.0761) |
| OKLCH | oklch(43.36% 0.077 262.9) |
| XYZ | xyz(8.1875, 8.0664, 19.8606) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 4.69
Denim Blue
#3B5B92
ΔE00 4.85
Dusk
#4E5481
ΔE00 5.09
Cobalt (survey)
#1E488F
ΔE00 5.24
Twilight
#4E518B
ΔE00 5.60
Light Navy Blue
#2E5A88
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A507B #7B653A
analogous
#3A707B #3A507B #443A7B
triadic
#3A507B #7B3A50 #507B3A
tetradic
#3A507B #7B3A70 #7B653A #3A7B44
square
#3A507B #7B3A70 #7B653A #3A7B44
split-complementary
#3A507B #7B443A #707B3A
monochromatic
#131A28 #263551 #3A507B #4E6BA5 #738CBD
Accessibility & contrast
On white
8.04
#3A507B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#3A507B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A507B
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A507B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A507B | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F537D
Deuteranopia (green-blind)
#384D7A
Tritanopia (blue-blind)
#1C5960
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3a507b; /* rgb */ color: rgb(58, 80, 123); /* oklch */ color: oklch(43.4% 0.077 262.9);
Tailwind
colors: {
custom: {
50: '#7580a1',
500: '#3a507b',
950: '#000000',
},
}SCSS
$custom: #3a507b; $custom-light: #7580a1; $custom-dark: #000000;
JSON
{
"hex": "#3a507b",
"rgb": {
"r": 58,
"g": 80,
"b": 123
},
"hsl": {
"h": 219.692,
"s": 35.912,
"l": 35.49
},
"oklch": {
"l": 0.43356,
"c": 0.07665,
"h": 262.9
},
"luminance": 0.08067
}Semantic roles & 50–950 ramp
primary
#3A507B
secondary
#A6926B
accent
#A65CCC
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0F
muted
#7B7C7E