#3A4EC5#3A4EC5
#3A4EC5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.186 H 270.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4EC5 |
|---|---|
| RGB | rgb(58, 78, 197) |
| HSL | hsl(231, 55%, 50%) |
| HSV | hsv(231, 71%, 77%) |
| CMYK | cmyk(70.6%, 60.4%, 0%, 22.7%) |
| CIE-LAB | lab(38.51, 32.47, -64.37) |
| CIE-LCH | lch(38.51, 72.09, 296.76°) |
| OKLab | oklab(48.26% 0.0015 -0.1857) |
| OKLCH | oklch(48.26% 0.186 270.5) |
| XYZ | xyz(14.5439, 10.3781, 54.0492) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.71
Blue (survey)
#0343DF
ΔE00 4.46
Warm Blue
#4B57DB
ΔE00 4.56
Sapphire
#0F52BA
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 5.47
Cobalt
#0047AB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4EC5 #C5B13A
analogous
#3A93C5 #3A4EC5 #6C3AC5
triadic
#3A4EC5 #C53A4E #4EC53A
tetradic
#3A4EC5 #C53A93 #C5B13A #3AC56C
square
#3A4EC5 #C53A93 #C5B13A #3AC56C
split-complementary
#3A4EC5 #C56C3A #93C53A
monochromatic
#1E2966 #2C3B96 #3A4EC5 #6978D3 #99A3E1
Accessibility & contrast
On white
6.83
#3A4EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#3A4EC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A4EC5
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4EC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4EC5 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3a4ec5; /* rgb */ color: rgb(58, 78, 197); /* oklch */ color: oklch(48.3% 0.186 270.5);
Tailwind
colors: {
custom: {
50: '#827fd7',
500: '#3a4ec5',
950: '#000000',
},
}SCSS
$custom: #3a4ec5; $custom-light: #827fd7; $custom-dark: #000000;
JSON
{
"hex": "#3a4ec5",
"rgb": {
"r": 58,
"g": 78,
"b": 197
},
"hsl": {
"h": 231.367,
"s": 54.51,
"l": 50
},
"oklch": {
"l": 0.48262,
"c": 0.18575,
"h": 270.5
},
"luminance": 0.1038
}Semantic roles & 50–950 ramp
primary
#3A4EC5
secondary
#CDC48E
accent
#C94ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83