#3949B4#3949B4
#3949B4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.169 H 271.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3949B4 |
|---|---|
| RGB | rgb(57, 73, 180) |
| HSL | hsl(232, 52%, 46%) |
| HSV | hsv(232, 68%, 71%) |
| CMYK | cmyk(68.3%, 59.4%, 0%, 29.4%) |
| CIE-LAB | lab(35.85, 29.46, -58.75) |
| CIE-LCH | lch(35.85, 65.72, 296.63°) |
| OKLab | oklab(45.85% 0.0045 -0.1693) |
| OKLCH | oklch(45.85% 0.169 271.5) |
| XYZ | xyz(12.3053, 8.9291, 44.2462) |
| Luminance | 0.0893 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.40
Ocean Blue
#4F42B5
ΔE00 4.43
Cobalt
#0047AB
ΔE00 4.87
Sapphire (survey)
#2138AB
ΔE00 5.23
Sapphire
#0F52BA
ΔE00 5.44
Blue (survey)
#0343DF
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3949B4 #B4A439
analogous
#3987B4 #3949B4 #6739B4
triadic
#3949B4 #B43949 #49B439
tetradic
#3949B4 #B43987 #B4A439 #39B467
square
#3949B4 #B43987 #B4A439 #39B467
split-complementary
#3949B4 #B46739 #87B439
monochromatic
#1C2357 #2A3686 #3949B4 #5E6CCC #8D97DB
Accessibility & contrast
On white
7.54
#3949B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#3949B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3949B4
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3949B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3949B4 | 1.00 | 7.54 | 2.79 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3949b4; /* rgb */ color: rgb(57, 73, 180); /* oklch */ color: oklch(45.8% 0.169 271.5);
Tailwind
colors: {
custom: {
50: '#7f7bcb',
500: '#3949b4',
950: '#000000',
},
}SCSS
$custom: #3949b4; $custom-light: #7f7bcb; $custom-dark: #000000;
JSON
{
"hex": "#3949b4",
"rgb": {
"r": 57,
"g": 73,
"b": 180
},
"hsl": {
"h": 232.195,
"s": 51.899,
"l": 46.471
},
"oklch": {
"l": 0.45848,
"c": 0.16936,
"h": 271.5
},
"luminance": 0.0893
}Semantic roles & 50–950 ramp
primary
#3949B4
secondary
#C5BD83
accent
#C94CDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82