#3A4EC0#3A4EC0
#3A4EC0 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.179 H 270.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4EC0 |
|---|---|
| RGB | rgb(58, 78, 192) |
| HSL | hsl(231, 54%, 49%) |
| HSV | hsv(231, 70%, 75%) |
| CMYK | cmyk(69.8%, 59.4%, 0%, 24.7%) |
| CIE-LAB | lab(38.12, 30.68, -62.10) |
| CIE-LCH | lch(38.12, 69.27, 296.29°) |
| OKLab | oklab(47.84% 0.0016 -0.1791) |
| OKLCH | oklch(47.84% 0.179 270.5) |
| XYZ | xyz(13.9805, 10.1527, 51.0818) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 4.79
Blue (survey)
#0343DF
ΔE00 4.90
Warm Blue
#4B57DB
ΔE00 5.08
Ocean Blue
#4F42B5
ΔE00 5.40
Cobalt
#0047AB
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4EC0 #C0AC3A
analogous
#3A91C0 #3A4EC0 #693AC0
triadic
#3A4EC0 #C03A4E #4EC03A
tetradic
#3A4EC0 #C03A91 #C0AC3A #3AC069
square
#3A4EC0 #C03A91 #C0AC3A #3AC069
split-complementary
#3A4EC0 #C0693A #91C03A
monochromatic
#1E2862 #2C3B91 #3A4EC0 #6676D1 #95A0DF
Accessibility & contrast
On white
6.93
#3A4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#3A4EC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A4EC0
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4EC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4EC0 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3a4ec0; /* rgb */ color: rgb(58, 78, 192); /* oklch */ color: oklch(47.8% 0.179 270.5);
Tailwind
colors: {
custom: {
50: '#817fd4',
500: '#3a4ec0',
950: '#000000',
},
}SCSS
$custom: #3a4ec0; $custom-light: #817fd4; $custom-dark: #000000;
JSON
{
"hex": "#3a4ec0",
"rgb": {
"r": 58,
"g": 78,
"b": 192
},
"hsl": {
"h": 231.045,
"s": 53.6,
"l": 49.02
},
"oklch": {
"l": 0.47843,
"c": 0.17909,
"h": 270.5
},
"luminance": 0.10154
}Semantic roles & 50–950 ramp
primary
#3A4EC0
secondary
#CAC18B
accent
#C74BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83