#3947B3#3947B3
#3947B3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.171 H 272.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3947B3 |
|---|---|
| RGB | rgb(57, 71, 179) |
| HSL | hsl(233, 52%, 46%) |
| HSV | hsv(233, 68%, 70%) |
| CMYK | cmyk(68.2%, 60.3%, 0%, 29.8%) |
| CIE-LAB | lab(35.26, 30.40, -59.11) |
| CIE-LCH | lch(35.26, 66.47, 297.21°) |
| OKLab | oklab(45.39% 0.0061 -0.1704) |
| OKLCH | oklch(45.39% 0.171 272.1) |
| XYZ | xyz(12.0745, 8.6299, 43.6685) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.21
Ocean Blue
#4F42B5
ΔE00 4.03
Sapphire (survey)
#2138AB
ΔE00 4.67
Cobalt
#0047AB
ΔE00 5.01
Blueberry
#464196
ΔE00 5.29
Blue (survey)
#0343DF
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3947B3 #B3A539
analogous
#3984B3 #3947B3 #6839B3
triadic
#3947B3 #B33947 #47B339
tetradic
#3947B3 #B33984 #B3A539 #39B368
square
#3947B3 #B33984 #B3A539 #39B368
split-complementary
#3947B3 #B36839 #84B339
monochromatic
#1B2256 #2A3585 #3947B3 #5E6ACC #8C95DA
Accessibility & contrast
On white
7.70
#3947B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#3947B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3947B3
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3947B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3947B3 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3947b3; /* rgb */ color: rgb(57, 71, 179); /* oklch */ color: oklch(45.4% 0.171 272.1);
Tailwind
colors: {
custom: {
50: '#7e7acb',
500: '#3947b3',
950: '#000000',
},
}SCSS
$custom: #3947b3; $custom-light: #7e7acb; $custom-dark: #000000;
JSON
{
"hex": "#3947b3",
"rgb": {
"r": 57,
"g": 71,
"b": 179
},
"hsl": {
"h": 233.115,
"s": 51.695,
"l": 46.275
},
"oklch": {
"l": 0.45389,
"c": 0.1705,
"h": 272.1
},
"luminance": 0.08631
}Semantic roles & 50–950 ramp
primary
#3947B3
secondary
#C5BD83
accent
#CB4DDB
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82