#3A5EA9#3A5EA9
#3A5EA9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.127 H 263.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5EA9 |
|---|---|
| RGB | rgb(58, 94, 169) |
| HSL | hsl(221, 49%, 45%) |
| HSV | hsv(221, 66%, 66%) |
| CMYK | cmyk(65.7%, 44.4%, 0%, 33.7%) |
| CIE-LAB | lab(40.85, 11.97, -44.17) |
| CIE-LCH | lch(40.85, 45.77, 285.17°) |
| OKLab | oklab(49.4% -0.015 -0.1261) |
| OKLCH | oklch(49.4% 0.127 263.2) |
| XYZ | xyz(12.9065, 11.7683, 39.1198) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.10
Dusky Blue
#475F94
ΔE00 3.58
Denim
#1560BD
ΔE00 3.80
French Blue
#436BAD
ΔE00 4.50
Denim (survey)
#3B638C
ΔE00 4.69
Sapphire
#0F52BA
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5EA9 #A9853A
analogous
#3A96A9 #3A5EA9 #4E3AA9
triadic
#3A5EA9 #A93A5E #5EA93A
tetradic
#3A5EA9 #A93A96 #A9853A #3AA94E
square
#3A5EA9 #A93A96 #A9853A #3AA94E
split-complementary
#3A5EA9 #A94E3A #96A93A
monochromatic
#1B2B4E #2A457B #3A5EA9 #5A7DC6 #87A1D6
Accessibility & contrast
On white
6.26
#3A5EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#3A5EA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5EA9
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5EA9 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A66AC
Deuteranopia (green-blind)
#285CA7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3a5ea9; /* rgb */ color: rgb(58, 94, 169); /* oklch */ color: oklch(49.4% 0.127 263.2);
Tailwind
colors: {
custom: {
50: '#7c8bc3',
500: '#3a5ea9',
950: '#000000',
},
}SCSS
$custom: #3a5ea9; $custom-light: #7c8bc3; $custom-dark: #000000;
JSON
{
"hex": "#3a5ea9",
"rgb": {
"r": 58,
"g": 94,
"b": 169
},
"hsl": {
"h": 220.541,
"s": 48.899,
"l": 44.51
},
"oklch": {
"l": 0.49403,
"c": 0.12701,
"h": 263.2
},
"luminance": 0.1177
}Semantic roles & 50–950 ramp
primary
#3A5EA9
secondary
#C0AB7F
accent
#AC4FD8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B12
muted
#7C7C81