#3A487D#3A487D
#3A487D is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.090 H 270.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3A487D |
|---|---|
| RGB | rgb(58, 72, 125) |
| HSL | hsl(227, 37%, 36%) |
| HSV | hsv(227, 54%, 49%) |
| CMYK | cmyk(53.6%, 42.4%, 0%, 51%) |
| CIE-LAB | lab(31.84, 10.73, -31.85) |
| CIE-LCH | lch(31.84, 33.61, 288.62°) |
| OKLab | oklab(41.63% 0.0014 -0.0902) |
| OKLCH | oklch(41.63% 0.09 270.9) |
| XYZ | xyz(7.7628, 7.0144, 20.3429) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.65
Dusk
#4E5481
ΔE00 5.18
Cobalt (survey)
#1E488F
ΔE00 5.41
Blueberry
#464196
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 6.78
Darkish Blue
#014182
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A487D #7D6F3A
analogous
#3A697D #3A487D #4D3A7D
triadic
#3A487D #7D3A48 #487D3A
tetradic
#3A487D #7D3A69 #7D6F3A #3A7D4D
square
#3A487D #7D3A69 #7D6F3A #3A7D4D
split-complementary
#3A487D #7D4D3A #697D3A
monochromatic
#131829 #273053 #3A487D #4D60A7 #7383BE
Accessibility & contrast
On white
8.74
#3A487D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#3A487D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A487D
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A487D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A487D | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#1C535C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a487d; /* rgb */ color: rgb(58, 72, 125); /* oklch */ color: oklch(41.6% 0.090 270.9);
Tailwind
colors: {
custom: {
50: '#757aa3',
500: '#3a487d',
950: '#000000',
},
}SCSS
$custom: #3a487d; $custom-light: #757aa3; $custom-dark: #000000;
JSON
{
"hex": "#3a487d",
"rgb": {
"r": 58,
"g": 72,
"b": 125
},
"hsl": {
"h": 227.463,
"s": 36.612,
"l": 35.882
},
"oklch": {
"l": 0.41629,
"c": 0.09026,
"h": 270.9
},
"luminance": 0.07015
}Semantic roles & 50–950 ramp
primary
#3A487D
secondary
#A89B6B
accent
#B55BCD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F