#3A4E80#3A4E80
#3A4E80 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.087 H 266.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4E80 |
|---|---|
| RGB | rgb(58, 78, 128) |
| HSL | hsl(223, 38%, 36%) |
| HSV | hsv(223, 55%, 50%) |
| CMYK | cmyk(54.7%, 39.1%, 0%, 49.8%) |
| CIE-LAB | lab(33.79, 7.80, -30.63) |
| CIE-LCH | lch(33.79, 31.61, 284.29°) |
| OKLab | oklab(43.19% -0.0055 -0.0866) |
| OKLCH | oklch(43.19% 0.087 266.3) |
| XYZ | xyz(8.3643, 7.9062, 21.5032) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.73
Twilight
#4E518B
ΔE00 4.77
Dusk
#4E5481
ΔE00 4.83
Dusk Blue
#26538D
ΔE00 4.99
Denim Blue
#3B5B92
ΔE00 5.14
Dusky Blue
#475F94
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4E80 #806C3A
analogous
#3A7180 #3A4E80 #493A80
triadic
#3A4E80 #803A4E #4E803A
tetradic
#3A4E80 #803A71 #806C3A #3A8049
square
#3A4E80 #803A71 #806C3A #3A8049
split-complementary
#3A4E80 #80493A #71803A
monochromatic
#141B2C #273456 #3A4E80 #4D68AA #748AC0
Accessibility & contrast
On white
8.14
#3A4E80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#3A4E80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4E80
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4E80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4E80 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5382
Deuteranopia (green-blind)
#324D7F
Tritanopia (blue-blind)
#175961
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3a4e80; /* rgb */ color: rgb(58, 78, 128); /* oklch */ color: oklch(43.2% 0.087 266.3);
Tailwind
colors: {
custom: {
50: '#757fa5',
500: '#3a4e80',
950: '#000000',
},
}SCSS
$custom: #3a4e80; $custom-light: #757fa5; $custom-dark: #000000;
JSON
{
"hex": "#3a4e80",
"rgb": {
"r": 58,
"g": 78,
"b": 128
},
"hsl": {
"h": 222.857,
"s": 37.634,
"l": 36.471
},
"oklch": {
"l": 0.43185,
"c": 0.08681,
"h": 266.3
},
"luminance": 0.07907
}Semantic roles & 50–950 ramp
primary
#3A4E80
secondary
#A9986C
accent
#AD5ACE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F