#3949B2#3949B2
#3949B2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.167 H 271.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #3949B2 |
|---|---|
| RGB | rgb(57, 73, 178) |
| HSL | hsl(232, 51%, 46%) |
| HSV | hsv(232, 68%, 70%) |
| CMYK | cmyk(68%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(35.69, 28.75, -57.82) |
| CIE-LCH | lch(35.69, 64.57, 296.44°) |
| OKLab | oklab(45.68% 0.0045 -0.1666) |
| OKLCH | oklch(45.68% 0.167 271.5) |
| XYZ | xyz(12.1031, 8.8482, 43.1809) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.61
Ocean Blue
#4F42B5
ΔE00 4.52
Cobalt
#0047AB
ΔE00 4.75
Sapphire (survey)
#2138AB
ΔE00 5.18
Sapphire
#0F52BA
ΔE00 5.43
Blueberry
#464196
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3949B2 #B2A239
analogous
#3985B2 #3949B2 #6539B2
triadic
#3949B2 #B23949 #49B239
tetradic
#3949B2 #B23985 #B2A239 #39B265
square
#3949B2 #B23985 #B2A239 #39B265
split-complementary
#3949B2 #B26539 #85B239
monochromatic
#1B2355 #2A3684 #3949B2 #5D6CCB #8B96DA
Accessibility & contrast
On white
7.58
#3949B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#3949B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3949B2
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3949B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3949B2 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3949b2; /* rgb */ color: rgb(57, 73, 178); /* oklch */ color: oklch(45.7% 0.167 271.5);
Tailwind
colors: {
custom: {
50: '#7e7bca',
500: '#3949b2',
950: '#000000',
},
}SCSS
$custom: #3949b2; $custom-light: #7e7bca; $custom-dark: #000000;
JSON
{
"hex": "#3949b2",
"rgb": {
"r": 57,
"g": 73,
"b": 178
},
"hsl": {
"h": 232.066,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.45682,
"c": 0.16663,
"h": 271.5
},
"luminance": 0.08849
}Semantic roles & 50–950 ramp
primary
#3949B2
secondary
#C4BC82
accent
#C84DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82