#3A4EC1#3A4EC1
#3A4EC1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.180 H 270.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4EC1 |
|---|---|
| RGB | rgb(58, 78, 193) |
| HSL | hsl(231, 54%, 49%) |
| HSV | hsv(231, 70%, 76%) |
| CMYK | cmyk(69.9%, 59.6%, 0%, 24.3%) |
| CIE-LAB | lab(38.19, 31.04, -62.56) |
| CIE-LCH | lch(38.19, 69.84, 296.39°) |
| OKLab | oklab(47.93% 0.0016 -0.1804) |
| OKLCH | oklch(47.93% 0.18 270.5) |
| XYZ | xyz(14.0917, 10.1972, 51.6673) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.76
Blue (survey)
#0343DF
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 4.84
Warm Blue
#4B57DB
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 5.41
Cobalt
#0047AB
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4EC1 #C1AD3A
analogous
#3A92C1 #3A4EC1 #6A3AC1
triadic
#3A4EC1 #C13A4E #4EC13A
tetradic
#3A4EC1 #C13A92 #C1AD3A #3AC16A
square
#3A4EC1 #C13A92 #C1AD3A #3AC16A
split-complementary
#3A4EC1 #C16A3A #92C13A
monochromatic
#1E2863 #2C3B92 #3A4EC1 #6777D1 #96A1DF
Accessibility & contrast
On white
6.91
#3A4EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#3A4EC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A4EC1
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4EC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4EC1 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3a4ec1; /* rgb */ color: rgb(58, 78, 193); /* oklch */ color: oklch(47.9% 0.180 270.5);
Tailwind
colors: {
custom: {
50: '#817fd5',
500: '#3a4ec1',
950: '#000000',
},
}SCSS
$custom: #3a4ec1; $custom-light: #817fd5; $custom-dark: #000000;
JSON
{
"hex": "#3a4ec1",
"rgb": {
"r": 58,
"g": 78,
"b": 193
},
"hsl": {
"h": 231.111,
"s": 53.785,
"l": 49.216
},
"oklch": {
"l": 0.47927,
"c": 0.18043,
"h": 270.5
},
"luminance": 0.10199
}Semantic roles & 50–950 ramp
primary
#3A4EC1
secondary
#CBC28C
accent
#C74BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83