#3947AC#3947AC
#3947AC is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.161 H 272.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3947AC |
|---|---|
| RGB | rgb(57, 71, 172) |
| HSL | hsl(233, 50%, 45%) |
| HSV | hsv(233, 67%, 67%) |
| CMYK | cmyk(66.9%, 58.7%, 0%, 32.5%) |
| CIE-LAB | lab(34.71, 27.89, -55.85) |
| CIE-LCH | lch(34.71, 62.43, 296.54°) |
| OKLab | oklab(44.81% 0.0062 -0.1608) |
| OKLCH | oklch(44.81% 0.161 272.2) |
| XYZ | xyz(11.3845, 8.3539, 40.0342) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.05
Ocean Blue
#4F42B5
ΔE00 4.45
Sapphire (survey)
#2138AB
ΔE00 4.60
Blueberry
#464196
ΔE00 4.61
Cobalt
#0047AB
ΔE00 4.71
Sapphire
#0F52BA
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3947AC #AC9E39
analogous
#3980AC #3947AC #6539AC
triadic
#3947AC #AC3947 #47AC39
tetradic
#3947AC #AC3980 #AC9E39 #39AC65
square
#3947AC #AC3980 #AC9E39 #39AC65
split-complementary
#3947AC #AC6539 #80AC39
monochromatic
#1B2150 #2A347E #3947AC #5A67C8 #8892D8
Accessibility & contrast
On white
7.86
#3947AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#3947AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3947AC
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3947AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3947AC | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3947ac; /* rgb */ color: rgb(57, 71, 172); /* oklch */ color: oklch(44.8% 0.161 272.2);
Tailwind
colors: {
custom: {
50: '#7d7ac5',
500: '#3947ac',
950: '#000000',
},
}SCSS
$custom: #3947ac; $custom-light: #7d7ac5; $custom-dark: #000000;
JSON
{
"hex": "#3947ac",
"rgb": {
"r": 57,
"g": 71,
"b": 172
},
"hsl": {
"h": 232.696,
"s": 50.218,
"l": 44.902
},
"oklch": {
"l": 0.44806,
"c": 0.16093,
"h": 272.2
},
"luminance": 0.08355
}Semantic roles & 50–950 ramp
primary
#3947AC
secondary
#C2BA7F
accent
#C94EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82