#3A4E7E#3A4E7E
#3A4E7E is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.084 H 265.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4E7E |
|---|---|
| RGB | rgb(58, 78, 126) |
| HSL | hsl(222, 37%, 36%) |
| HSV | hsv(222, 54%, 49%) |
| CMYK | cmyk(54%, 38.1%, 0%, 50.6%) |
| CIE-LAB | lab(33.68, 7.11, -29.57) |
| CIE-LCH | lch(33.68, 30.41, 283.53°) |
| OKLab | oklab(43.06% -0.006 -0.0835) |
| OKLCH | oklch(43.06% 0.084 265.9) |
| XYZ | xyz(8.2340, 7.8541, 20.8167) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.79
Cobalt (survey)
#1E488F
ΔE00 4.91
Twilight
#4E518B
ΔE00 4.92
Dusk Blue
#26538D
ΔE00 5.07
Denim Blue
#3B5B92
ΔE00 5.26
Dusky Blue
#475F94
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4E7E #7E6A3A
analogous
#3A707E #3A4E7E #483A7E
triadic
#3A4E7E #7E3A4E #4E7E3A
tetradic
#3A4E7E #7E3A70 #7E6A3A #3A7E48
square
#3A4E7E #7E3A70 #7E6A3A #3A7E48
split-complementary
#3A4E7E #7E483A #707E3A
monochromatic
#131A2A #273454 #3A4E7E #4D68A8 #748ABF
Accessibility & contrast
On white
8.17
#3A4E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#3A4E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4E7E
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4E7E | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5380
Deuteranopia (green-blind)
#334C7D
Tritanopia (blue-blind)
#195860
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3a4e7e; /* rgb */ color: rgb(58, 78, 126); /* oklch */ color: oklch(43.1% 0.084 265.9);
Tailwind
colors: {
custom: {
50: '#757fa3',
500: '#3a4e7e',
950: '#000000',
},
}SCSS
$custom: #3a4e7e; $custom-light: #757fa3; $custom-dark: #000000;
JSON
{
"hex": "#3a4e7e",
"rgb": {
"r": 58,
"g": 78,
"b": 126
},
"hsl": {
"h": 222.353,
"s": 36.957,
"l": 36.078
},
"oklch": {
"l": 0.43064,
"c": 0.08374,
"h": 265.9
},
"luminance": 0.07855
}Semantic roles & 50–950 ramp
primary
#3A4E7E
secondary
#A8966C
accent
#AB5BCD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F