#3849B2#3849B2
#3849B2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.167 H 271.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3849B2 |
|---|---|
| RGB | rgb(56, 73, 178) |
| HSL | hsl(232, 52%, 46%) |
| HSV | hsv(232, 69%, 70%) |
| CMYK | cmyk(68.5%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(35.63, 28.60, -57.91) |
| CIE-LCH | lch(35.63, 64.59, 296.28°) |
| OKLab | oklab(45.63% 0.0035 -0.1669) |
| OKLCH | oklch(45.63% 0.167 271.2) |
| XYZ | xyz(12.0466, 8.8190, 43.1782) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.58
Cobalt
#0047AB
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 4.64
Sapphire (survey)
#2138AB
ΔE00 5.16
Sapphire
#0F52BA
ΔE00 5.32
Blueberry
#464196
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3849B2 #B2A138
analogous
#3886B2 #3849B2 #6438B2
triadic
#3849B2 #B23849 #49B238
tetradic
#3849B2 #B23886 #B2A138 #38B264
square
#3849B2 #B23886 #B2A138 #38B264
split-complementary
#3849B2 #B26438 #86B238
monochromatic
#1B2355 #293683 #3849B2 #5C6BCC #8A95DA
Accessibility & contrast
On white
7.60
#3849B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#3849B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3849B2
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3849B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3849B2 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3849b2; /* rgb */ color: rgb(56, 73, 178); /* oklch */ color: oklch(45.6% 0.167 271.2);
Tailwind
colors: {
custom: {
50: '#7e7bca',
500: '#3849b2',
950: '#000000',
},
}SCSS
$custom: #3849b2; $custom-light: #7e7bca; $custom-dark: #000000;
JSON
{
"hex": "#3849b2",
"rgb": {
"r": 56,
"g": 73,
"b": 178
},
"hsl": {
"h": 231.639,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.45625,
"c": 0.16692,
"h": 271.2
},
"luminance": 0.0882
}Semantic roles & 50–950 ramp
primary
#3849B2
secondary
#C5BB81
accent
#C84CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82