#3A4D8F#3A4D8F
#3A4D8F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.111 H 269.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4D8F |
|---|---|
| RGB | rgb(58, 77, 143) |
| HSL | hsl(227, 42%, 39%) |
| HSV | hsv(227, 59%, 56%) |
| CMYK | cmyk(59.4%, 46.2%, 0%, 43.9%) |
| CIE-LAB | lab(34.37, 13.72, -38.90) |
| CIE-LCH | lch(34.37, 41.25, 289.43°) |
| OKLab | oklab(43.92% -0.0012 -0.1109) |
| OKLCH | oklch(43.92% 0.111 269.4) |
| XYZ | xyz(9.3551, 8.1897, 27.0691) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.98
Twilight
#4E518B
ΔE00 4.55
Denim Blue
#3B5B92
ΔE00 5.15
Dusk Blue
#26538D
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.86
Blueberry
#464196
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4D8F #8F7C3A
analogous
#3A788F #3A4D8F #513A8F
triadic
#3A4D8F #8F3A4D #4D8F3A
tetradic
#3A4D8F #8F3A78 #8F7C3A #3A8F51
square
#3A4D8F #8F3A78 #8F7C3A #3A8F51
split-complementary
#3A4D8F #8F513A #788F3A
monochromatic
#171E38 #283663 #3A4D8F #4F66B7 #7A8CC9
Accessibility & contrast
On white
7.96
#3A4D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#3A4D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4D8F
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4D8F | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#234D8E
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3a4d8f; /* rgb */ color: rgb(58, 77, 143); /* oklch */ color: oklch(43.9% 0.111 269.4);
Tailwind
colors: {
custom: {
50: '#787eb0',
500: '#3a4d8f',
950: '#000000',
},
}SCSS
$custom: #3a4d8f; $custom-light: #787eb0; $custom-dark: #000000;
JSON
{
"hex": "#3a4d8f",
"rgb": {
"r": 58,
"g": 77,
"b": 143
},
"hsl": {
"h": 226.588,
"s": 42.289,
"l": 39.412
},
"oklch": {
"l": 0.43923,
"c": 0.11088,
"h": 269.4
},
"luminance": 0.0819
}Semantic roles & 50–950 ramp
primary
#3A4D8F
secondary
#B3A472
accent
#B656D2
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#090910
muted
#7B7B7F