#3946AD#3946AD
#3946AD is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.164 H 272.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3946AD |
|---|---|
| RGB | rgb(57, 70, 173) |
| HSL | hsl(233, 50%, 45%) |
| HSV | hsv(233, 67%, 68%) |
| CMYK | cmyk(67.1%, 59.5%, 0%, 32.2%) |
| CIE-LAB | lab(34.53, 28.90, -56.74) |
| CIE-LCH | lch(34.53, 63.67, 296.99°) |
| OKLab | oklab(44.7% 0.007 -0.1634) |
| OKLCH | oklch(44.7% 0.164 272.5) |
| XYZ | xyz(11.4178, 8.2663, 40.5209) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.82
Ocean Blue
#4F42B5
ΔE00 4.19
Sapphire (survey)
#2138AB
ΔE00 4.33
Blueberry
#464196
ΔE00 4.56
Cobalt
#0047AB
ΔE00 4.87
Sapphire
#0F52BA
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3946AD #ADA039
analogous
#3980AD #3946AD #6639AD
triadic
#3946AD #AD3946 #46AD39
tetradic
#3946AD #AD3980 #ADA039 #39AD66
square
#3946AD #AD3980 #ADA039 #39AD66
split-complementary
#3946AD #AD6639 #80AD39
monochromatic
#1B2151 #2A337F #3946AD #5A67C9 #8891D8
Accessibility & contrast
On white
7.91
#3946AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#3946AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3946AD
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3946AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3946AD | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3946ad; /* rgb */ color: rgb(57, 70, 173); /* oklch */ color: oklch(44.7% 0.164 272.5);
Tailwind
colors: {
custom: {
50: '#7d79c6',
500: '#3946ad',
950: '#000000',
},
}SCSS
$custom: #3946ad; $custom-light: #7d79c6; $custom-dark: #000000;
JSON
{
"hex": "#3946ad",
"rgb": {
"r": 57,
"g": 70,
"b": 173
},
"hsl": {
"h": 233.276,
"s": 50.435,
"l": 45.098
},
"oklch": {
"l": 0.44698,
"c": 0.16357,
"h": 272.5
},
"luminance": 0.08267
}Semantic roles & 50–950 ramp
primary
#3946AD
secondary
#C2BB80
accent
#CA4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82