#3A4EAD#3A4EAD
#3A4EAD is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.153 H 270.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4EAD |
|---|---|
| RGB | rgb(58, 78, 173) |
| HSL | hsl(230, 50%, 45%) |
| HSV | hsv(230, 66%, 68%) |
| CMYK | cmyk(66.5%, 54.9%, 0%, 32.2%) |
| CIE-LAB | lab(36.68, 23.85, -53.25) |
| CIE-LCH | lch(36.68, 58.35, 294.12°) |
| OKLab | oklab(46.32% 0.001 -0.1531) |
| OKLCH | oklch(46.32% 0.153 270.4) |
| XYZ | xyz(12.0096, 9.3643, 40.7017) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.43
Cobalt
#0047AB
ΔE00 4.53
Blue Blue
#2242C7
ΔE00 5.17
Cobalt (survey)
#1E488F
ΔE00 6.00
Ocean Blue
#4F42B5
ΔE00 6.03
Blueberry
#464196
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4EAD #AD993A
analogous
#3A88AD #3A4EAD #5F3AAD
triadic
#3A4EAD #AD3A4E #4EAD3A
tetradic
#3A4EAD #AD3A88 #AD993A #3AAD5F
square
#3A4EAD #AD3A88 #AD993A #3AAD5F
split-complementary
#3A4EAD #AD5F3A #88AD3A
monochromatic
#1B2551 #2B397F #3A4EAD #5C6FC8 #8A97D8
Accessibility & contrast
On white
7.31
#3A4EAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#3A4EAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4EAD
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4EAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4EAD | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#035CB0
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3a4ead; /* rgb */ color: rgb(58, 78, 173); /* oklch */ color: oklch(46.3% 0.153 270.4);
Tailwind
colors: {
custom: {
50: '#7d7fc6',
500: '#3a4ead',
950: '#000000',
},
}SCSS
$custom: #3a4ead; $custom-light: #7d7fc6; $custom-dark: #000000;
JSON
{
"hex": "#3a4ead",
"rgb": {
"r": 58,
"g": 78,
"b": 173
},
"hsl": {
"h": 229.565,
"s": 49.784,
"l": 45.294
},
"oklch": {
"l": 0.46316,
"c": 0.15306,
"h": 270.4
},
"luminance": 0.09365
}Semantic roles & 50–950 ramp
primary
#3A4EAD
secondary
#C2B781
accent
#C14ED9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82