#3A4EC7#3A4EC7
#3A4EC7 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.188 H 270.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4EC7 |
|---|---|
| RGB | rgb(58, 78, 199) |
| HSL | hsl(231, 56%, 50%) |
| HSV | hsv(231, 71%, 78%) |
| CMYK | cmyk(70.9%, 60.8%, 0%, 22%) |
| CIE-LAB | lab(38.67, 33.18, -65.27) |
| CIE-LCH | lch(38.67, 73.22, 296.95°) |
| OKLab | oklab(48.43% 0.0015 -0.1884) |
| OKLCH | oklch(48.43% 0.188 270.5) |
| XYZ | xyz(14.7746, 10.4704, 55.2641) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.72
Blue (survey)
#0343DF
ΔE00 4.30
Warm Blue
#4B57DB
ΔE00 4.36
Sapphire
#0F52BA
ΔE00 5.24
Ocean Blue
#4F42B5
ΔE00 5.52
Iris
#6258C4
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4EC7 #C7B33A
analogous
#3A95C7 #3A4EC7 #6C3AC7
triadic
#3A4EC7 #C73A4E #4EC73A
tetradic
#3A4EC7 #C73A95 #C7B33A #3AC76C
square
#3A4EC7 #C73A95 #C7B33A #3AC76C
split-complementary
#3A4EC7 #C76C3A #95C73A
monochromatic
#1E2869 #2B3B98 #3A4EC7 #6A79D5 #99A4E2
Accessibility & contrast
On white
6.79
#3A4EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3A4EC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A4EC7
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4EC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4EC7 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3a4ec7; /* rgb */ color: rgb(58, 78, 199); /* oklch */ color: oklch(48.4% 0.188 270.5);
Tailwind
colors: {
custom: {
50: '#837fd9',
500: '#3a4ec7',
950: '#000000',
},
}SCSS
$custom: #3a4ec7; $custom-light: #837fd9; $custom-dark: #000000;
JSON
{
"hex": "#3a4ec7",
"rgb": {
"r": 58,
"g": 78,
"b": 199
},
"hsl": {
"h": 231.489,
"s": 55.731,
"l": 50.392
},
"oklch": {
"l": 0.48432,
"c": 0.18839,
"h": 270.5
},
"luminance": 0.10472
}Semantic roles & 50–950 ramp
primary
#3A4EC7
secondary
#CEC58F
accent
#CA49DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83