#3947B0#3947B0
#3947B0 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.166 H 272.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3947B0 |
|---|---|
| RGB | rgb(57, 71, 176) |
| HSL | hsl(233, 51%, 46%) |
| HSV | hsv(233, 68%, 69%) |
| CMYK | cmyk(67.6%, 59.7%, 0%, 31%) |
| CIE-LAB | lab(35.02, 29.32, -57.72) |
| CIE-LCH | lch(35.02, 64.74, 296.93°) |
| OKLab | oklab(45.14% 0.0062 -0.1663) |
| OKLCH | oklch(45.14% 0.166 272.1) |
| XYZ | xyz(11.7744, 8.5098, 42.0879) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.55
Ocean Blue
#4F42B5
ΔE00 4.19
Sapphire (survey)
#2138AB
ΔE00 4.61
Cobalt
#0047AB
ΔE00 4.86
Blueberry
#464196
ΔE00 4.98
Sapphire
#0F52BA
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3947B0 #B0A239
analogous
#3982B0 #3947B0 #6639B0
triadic
#3947B0 #B03947 #47B039
tetradic
#3947B0 #B03982 #B0A239 #39B066
square
#3947B0 #B03982 #B0A239 #39B066
split-complementary
#3947B0 #B06639 #82B039
monochromatic
#1B2254 #2A3482 #3947B0 #5C69CA #8A94D9
Accessibility & contrast
On white
7.77
#3947B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#3947B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3947B0
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3947B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3947B0 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3947b0; /* rgb */ color: rgb(57, 71, 176); /* oklch */ color: oklch(45.1% 0.166 272.1);
Tailwind
colors: {
custom: {
50: '#7e7ac8',
500: '#3947b0',
950: '#000000',
},
}SCSS
$custom: #3947b0; $custom-light: #7e7ac8; $custom-dark: #000000;
JSON
{
"hex": "#3947b0",
"rgb": {
"r": 57,
"g": 71,
"b": 176
},
"hsl": {
"h": 232.941,
"s": 51.073,
"l": 45.686
},
"oklch": {
"l": 0.45137,
"c": 0.16641,
"h": 272.1
},
"luminance": 0.08511
}Semantic roles & 50–950 ramp
primary
#3947B0
secondary
#C4BC81
accent
#CA4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82