#3947B2#3947B2
#3947B2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.169 H 272.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3947B2 |
|---|---|
| RGB | rgb(57, 71, 178) |
| HSL | hsl(233, 51%, 46%) |
| HSV | hsv(233, 68%, 70%) |
| CMYK | cmyk(68%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(35.18, 30.04, -58.65) |
| CIE-LCH | lch(35.18, 65.89, 297.12°) |
| OKLab | oklab(45.31% 0.0062 -0.169) |
| OKLCH | oklch(45.31% 0.169 272.1) |
| XYZ | xyz(11.9738, 8.5896, 43.1378) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.32
Ocean Blue
#4F42B5
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 4.65
Cobalt
#0047AB
ΔE00 4.96
Blueberry
#464196
ΔE00 5.18
Blue (survey)
#0343DF
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3947B2 #B2A439
analogous
#3983B2 #3947B2 #6739B2
triadic
#3947B2 #B23947 #47B239
tetradic
#3947B2 #B23983 #B2A439 #39B267
square
#3947B2 #B23983 #B2A439 #39B267
split-complementary
#3947B2 #B26739 #83B239
monochromatic
#1B2255 #2A3584 #3947B2 #5D6ACB #8B95DA
Accessibility & contrast
On white
7.73
#3947B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#3947B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3947B2
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3947B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3947B2 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3947b2; /* rgb */ color: rgb(57, 71, 178); /* oklch */ color: oklch(45.3% 0.169 272.1);
Tailwind
colors: {
custom: {
50: '#7e7aca',
500: '#3947b2',
950: '#000000',
},
}SCSS
$custom: #3947b2; $custom-light: #7e7aca; $custom-dark: #000000;
JSON
{
"hex": "#3947b2",
"rgb": {
"r": 57,
"g": 71,
"b": 178
},
"hsl": {
"h": 233.058,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.45305,
"c": 0.16914,
"h": 272.1
},
"luminance": 0.08591
}Semantic roles & 50–950 ramp
primary
#3947B2
secondary
#C4BD82
accent
#CB4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82