#3946AE#3946AE
#3946AE is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.165 H 272.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3946AE |
|---|---|
| RGB | rgb(57, 70, 174) |
| HSL | hsl(233, 51%, 45%) |
| HSV | hsv(233, 67%, 68%) |
| CMYK | cmyk(67.2%, 59.8%, 0%, 31.8%) |
| CIE-LAB | lab(34.61, 29.26, -57.20) |
| CIE-LCH | lch(34.61, 64.25, 297.09°) |
| OKLab | oklab(44.78% 0.007 -0.1648) |
| OKLCH | oklch(44.78% 0.165 272.4) |
| XYZ | xyz(11.5149, 8.3051, 41.0324) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.70
Ocean Blue
#4F42B5
ΔE00 4.12
Sapphire (survey)
#2138AB
ΔE00 4.33
Blueberry
#464196
ΔE00 4.65
Cobalt
#0047AB
ΔE00 4.91
Sapphire
#0F52BA
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3946AE #AEA139
analogous
#3981AE #3946AE #6639AE
triadic
#3946AE #AE3946 #46AE39
tetradic
#3946AE #AE3981 #AEA139 #39AE66
square
#3946AE #AE3981 #AEA139 #39AE66
split-complementary
#3946AE #AE6639 #81AE39
monochromatic
#1B2152 #2A3380 #3946AE #5B67C9 #8992D8
Accessibility & contrast
On white
7.89
#3946AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#3946AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3946AE
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3946AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3946AE | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3946ae; /* rgb */ color: rgb(57, 70, 174); /* oklch */ color: oklch(44.8% 0.165 272.4);
Tailwind
colors: {
custom: {
50: '#7d79c7',
500: '#3946ae',
950: '#000000',
},
}SCSS
$custom: #3946ae; $custom-light: #7d79c7; $custom-dark: #000000;
JSON
{
"hex": "#3946ae",
"rgb": {
"r": 57,
"g": 70,
"b": 174
},
"hsl": {
"h": 233.333,
"s": 50.649,
"l": 45.294
},
"oklch": {
"l": 0.44781,
"c": 0.16494,
"h": 272.4
},
"luminance": 0.08306
}Semantic roles & 50–950 ramp
primary
#3946AE
secondary
#C3BB80
accent
#CB4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82