#3947AB#3947AB
#3947AB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.160 H 272.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3947AB |
|---|---|
| RGB | rgb(57, 71, 171) |
| HSL | hsl(233, 50%, 45%) |
| HSV | hsv(233, 67%, 67%) |
| CMYK | cmyk(66.7%, 58.5%, 0%, 32.9%) |
| CIE-LAB | lab(34.63, 27.54, -55.38) |
| CIE-LCH | lch(34.63, 61.85, 296.44°) |
| OKLab | oklab(44.72% 0.0062 -0.1594) |
| OKLCH | oklch(44.72% 0.16 272.2) |
| XYZ | xyz(11.2888, 8.3156, 39.5303) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.18
Blueberry
#464196
ΔE00 4.52
Ocean Blue
#4F42B5
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 4.62
Cobalt
#0047AB
ΔE00 4.68
Sapphire
#0F52BA
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3947AB #AB9D39
analogous
#3980AB #3947AB #6439AB
triadic
#3947AB #AB3947 #47AB39
tetradic
#3947AB #AB3980 #AB9D39 #39AB64
square
#3947AB #AB3980 #AB9D39 #39AB64
split-complementary
#3947AB #AB6439 #80AB39
monochromatic
#1A214F #2A347D #3947AB #5967C8 #8791D7
Accessibility & contrast
On white
7.88
#3947AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#3947AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3947AB
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3947AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3947AB | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3947ab; /* rgb */ color: rgb(57, 71, 171); /* oklch */ color: oklch(44.7% 0.160 272.2);
Tailwind
colors: {
custom: {
50: '#7d7ac5',
500: '#3947ab',
950: '#000000',
},
}SCSS
$custom: #3947ab; $custom-light: #7d7ac5; $custom-dark: #000000;
JSON
{
"hex": "#3947ab",
"rgb": {
"r": 57,
"g": 71,
"b": 171
},
"hsl": {
"h": 232.632,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.44723,
"c": 0.15955,
"h": 272.2
},
"luminance": 0.08317
}Semantic roles & 50–950 ramp
primary
#3947AB
secondary
#C1B97F
accent
#C84EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82