#3A4EC6#3A4EC6
#3A4EC6 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.187 H 270.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4EC6 |
|---|---|
| RGB | rgb(58, 78, 198) |
| HSL | hsl(231, 55%, 50%) |
| HSV | hsv(231, 71%, 78%) |
| CMYK | cmyk(70.7%, 60.6%, 0%, 22.4%) |
| CIE-LAB | lab(38.59, 32.82, -64.82) |
| CIE-LCH | lch(38.59, 72.66, 296.86°) |
| OKLab | oklab(48.35% 0.0015 -0.1871) |
| OKLCH | oklch(48.35% 0.187 270.5) |
| XYZ | xyz(14.6589, 10.4241, 54.6546) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.71
Blue (survey)
#0343DF
ΔE00 4.37
Warm Blue
#4B57DB
ΔE00 4.46
Sapphire
#0F52BA
ΔE00 5.17
Ocean Blue
#4F42B5
ΔE00 5.50
Iris
#6258C4
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4EC6 #C6B23A
analogous
#3A94C6 #3A4EC6 #6C3AC6
triadic
#3A4EC6 #C63A4E #4EC63A
tetradic
#3A4EC6 #C63A94 #C6B23A #3AC66C
square
#3A4EC6 #C63A94 #C6B23A #3AC66C
split-complementary
#3A4EC6 #C66C3A #94C63A
monochromatic
#1E2968 #2C3B97 #3A4EC6 #6979D4 #99A3E1
Accessibility & contrast
On white
6.81
#3A4EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3A4EC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A4EC6
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4EC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4EC6 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3a4ec6; /* rgb */ color: rgb(58, 78, 198); /* oklch */ color: oklch(48.3% 0.187 270.5);
Tailwind
colors: {
custom: {
50: '#827fd8',
500: '#3a4ec6',
950: '#000000',
},
}SCSS
$custom: #3a4ec6; $custom-light: #827fd8; $custom-dark: #000000;
JSON
{
"hex": "#3a4ec6",
"rgb": {
"r": 58,
"g": 78,
"b": 198
},
"hsl": {
"h": 231.429,
"s": 55.118,
"l": 50.196
},
"oklch": {
"l": 0.48347,
"c": 0.18707,
"h": 270.5
},
"luminance": 0.10426
}Semantic roles & 50–950 ramp
primary
#3A4EC6
secondary
#CDC48F
accent
#C949DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83