#3946B5#3946B5
#3946B5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.174 H 272.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3946B5 |
|---|---|
| RGB | rgb(57, 70, 181) |
| HSL | hsl(234, 52%, 47%) |
| HSV | hsv(234, 69%, 71%) |
| CMYK | cmyk(68.5%, 61.3%, 0%, 29%) |
| CIE-LAB | lab(35.17, 31.75, -60.44) |
| CIE-LCH | lch(35.17, 68.27, 297.71°) |
| OKLab | oklab(45.37% 0.0069 -0.1743) |
| OKLCH | oklch(45.37% 0.174 272.3) |
| XYZ | xyz(12.2152, 8.5852, 44.7205) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.89
Ocean Blue
#4F42B5
ΔE00 3.76
Sapphire (survey)
#2138AB
ΔE00 4.50
Cobalt
#0047AB
ΔE00 5.26
Blue (survey)
#0343DF
ΔE00 5.35
Blueberry
#464196
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3946B5 #B5A839
analogous
#3984B5 #3946B5 #6A39B5
triadic
#3946B5 #B53946 #46B539
tetradic
#3946B5 #B53984 #B5A839 #39B56A
square
#3946B5 #B53984 #B5A839 #39B56A
split-complementary
#3946B5 #B56A39 #84B539
monochromatic
#1C2258 #2A3486 #3946B5 #5F6ACD #8D95DB
Accessibility & contrast
On white
7.73
#3946B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#3946B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3946B5
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3946B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3946B5 | 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)
#0058B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3946b5; /* rgb */ color: rgb(57, 70, 181); /* oklch */ color: oklch(45.4% 0.174 272.3);
Tailwind
colors: {
custom: {
50: '#7f79cc',
500: '#3946b5',
950: '#000000',
},
}SCSS
$custom: #3946b5; $custom-light: #7f79cc; $custom-dark: #000000;
JSON
{
"hex": "#3946b5",
"rgb": {
"r": 57,
"g": 70,
"b": 181
},
"hsl": {
"h": 233.71,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.45374,
"c": 0.17443,
"h": 272.3
},
"luminance": 0.08586
}Semantic roles & 50–950 ramp
primary
#3946B5
secondary
#C6BF84
accent
#CD4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82