#3947B1#3947B1
#3947B1 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.168 H 272.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3947B1 |
|---|---|
| RGB | rgb(57, 71, 177) |
| HSL | hsl(233, 51%, 46%) |
| HSV | hsv(233, 68%, 69%) |
| CMYK | cmyk(67.8%, 59.9%, 0%, 30.6%) |
| CIE-LAB | lab(35.10, 29.68, -58.18) |
| CIE-LCH | lch(35.10, 65.32, 297.03°) |
| OKLab | oklab(45.22% 0.0062 -0.1677) |
| OKLCH | oklch(45.22% 0.168 272.1) |
| XYZ | xyz(11.8737, 8.5496, 42.6109) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.44
Ocean Blue
#4F42B5
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 4.63
Cobalt
#0047AB
ΔE00 4.91
Blueberry
#464196
ΔE00 5.08
Blue (survey)
#0343DF
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3947B1 #B1A339
analogous
#3983B1 #3947B1 #6739B1
triadic
#3947B1 #B13947 #47B139
tetradic
#3947B1 #B13983 #B1A339 #39B167
square
#3947B1 #B13983 #B1A339 #39B167
split-complementary
#3947B1 #B16739 #83B139
monochromatic
#1B2254 #2A3483 #3947B1 #5D69CB #8B94DA
Accessibility & contrast
On white
7.75
#3947B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#3947B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3947B1
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3947B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3947B1 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004DAF
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3947b1; /* rgb */ color: rgb(57, 71, 177); /* oklch */ color: oklch(45.2% 0.168 272.1);
Tailwind
colors: {
custom: {
50: '#7e7ac9',
500: '#3947b1',
950: '#000000',
},
}SCSS
$custom: #3947b1; $custom-light: #7e7ac9; $custom-dark: #000000;
JSON
{
"hex": "#3947b1",
"rgb": {
"r": 57,
"g": 71,
"b": 177
},
"hsl": {
"h": 233,
"s": 51.282,
"l": 45.882
},
"oklch": {
"l": 0.45221,
"c": 0.16778,
"h": 272.1
},
"luminance": 0.08551
}Semantic roles & 50–950 ramp
primary
#3947B1
secondary
#C4BC82
accent
#CA4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82