#3946AC#3946AC
#3946AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.162 H 272.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3946AC |
|---|---|
| RGB | rgb(57, 70, 172) |
| HSL | hsl(233, 50%, 45%) |
| HSV | hsv(233, 67%, 67%) |
| CMYK | cmyk(66.9%, 59.3%, 0%, 32.5%) |
| CIE-LAB | lab(34.45, 28.54, -56.27) |
| CIE-LCH | lch(34.45, 63.09, 296.90°) |
| OKLab | oklab(44.62% 0.007 -0.162) |
| OKLCH | oklch(44.62% 0.162 272.5) |
| XYZ | xyz(11.3214, 8.2277, 40.0132) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.95
Ocean Blue
#4F42B5
ΔE00 4.26
Sapphire (survey)
#2138AB
ΔE00 4.33
Blueberry
#464196
ΔE00 4.46
Cobalt
#0047AB
ΔE00 4.84
Sapphire
#0F52BA
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3946AC #AC9F39
analogous
#3980AC #3946AC #6539AC
triadic
#3946AC #AC3946 #46AC39
tetradic
#3946AC #AC3980 #AC9F39 #39AC65
square
#3946AC #AC3980 #AC9F39 #39AC65
split-complementary
#3946AC #AC6539 #80AC39
monochromatic
#1B2150 #2A337E #3946AC #5A66C8 #8891D8
Accessibility & contrast
On white
7.94
#3946AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#3946AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3946AC
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3946AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3946AC | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3946ac; /* rgb */ color: rgb(57, 70, 172); /* oklch */ color: oklch(44.6% 0.162 272.5);
Tailwind
colors: {
custom: {
50: '#7d79c6',
500: '#3946ac',
950: '#000000',
},
}SCSS
$custom: #3946ac; $custom-light: #7d79c6; $custom-dark: #000000;
JSON
{
"hex": "#3946ac",
"rgb": {
"r": 57,
"g": 70,
"b": 172
},
"hsl": {
"h": 233.217,
"s": 50.218,
"l": 44.902
},
"oklch": {
"l": 0.44615,
"c": 0.1622,
"h": 272.5
},
"luminance": 0.08229
}Semantic roles & 50–950 ramp
primary
#3946AC
secondary
#C2BA7F
accent
#CA4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82