#3A5EC1#3A5EC1
#3A5EC1 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.161 H 265.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5EC1 |
|---|---|
| RGB | rgb(58, 94, 193) |
| HSL | hsl(224, 54%, 49%) |
| HSV | hsv(224, 70%, 76%) |
| CMYK | cmyk(69.9%, 51.3%, 0%, 24.3%) |
| CIE-LAB | lab(42.39, 20.73, -55.75) |
| CIE-LCH | lch(42.39, 59.48, 290.39°) |
| OKLab | oklab(51.08% -0.0116 -0.1602) |
| OKLCH | oklch(51.08% 0.161 265.9) |
| XYZ | xyz(15.3699, 12.7536, 52.0934) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.17
Sapphire
#0F52BA
ΔE00 4.72
Azul
#1D5DEC
ΔE00 5.07
French Blue
#436BAD
ΔE00 5.20
Royal Blue
#4169E1
ΔE00 5.61
Warm Blue
#4B57DB
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5EC1 #C19D3A
analogous
#3AA2C1 #3A5EC1 #5A3AC1
triadic
#3A5EC1 #C13A5E #5EC13A
tetradic
#3A5EC1 #C13AA2 #C19D3A #3AC15A
square
#3A5EC1 #C13AA2 #C19D3A #3AC15A
split-complementary
#3A5EC1 #C15A3A #A2C13A
monochromatic
#1E3063 #2C4792 #3A5EC1 #6783D1 #96AADF
Accessibility & contrast
On white
5.91
#3A5EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#3A5EC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5EC1
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5EC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5EC1 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216BC5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3a5ec1; /* rgb */ color: rgb(58, 94, 193); /* oklch */ color: oklch(51.1% 0.161 265.9);
Tailwind
colors: {
custom: {
50: '#808bd4',
500: '#3a5ec1',
950: '#000000',
},
}SCSS
$custom: #3a5ec1; $custom-light: #808bd4; $custom-dark: #000000;
JSON
{
"hex": "#3a5ec1",
"rgb": {
"r": 58,
"g": 94,
"b": 193
},
"hsl": {
"h": 224,
"s": 53.785,
"l": 49.216
},
"oklch": {
"l": 0.51079,
"c": 0.1606,
"h": 265.9
},
"luminance": 0.12755
}Semantic roles & 50–950 ramp
primary
#3A5EC1
secondary
#CBBA8C
accent
#B64BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83