#3848B2#3848B2
#3848B2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.168 H 271.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3848B2 |
|---|---|
| RGB | rgb(56, 72, 178) |
| HSL | hsl(232, 52%, 46%) |
| HSV | hsv(232, 69%, 70%) |
| CMYK | cmyk(68.5%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(35.38, 29.25, -58.33) |
| CIE-LCH | lch(35.38, 65.25, 296.63°) |
| OKLab | oklab(45.43% 0.0043 -0.1681) |
| OKLCH | oklch(45.43% 0.168 271.5) |
| XYZ | xyz(11.9814, 8.6887, 43.1565) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.42
Ocean Blue
#4F42B5
ΔE00 4.42
Cobalt
#0047AB
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 4.88
Blueberry
#464196
ΔE00 5.39
Sapphire
#0F52BA
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3848B2 #B2A238
analogous
#3885B2 #3848B2 #6538B2
triadic
#3848B2 #B23848 #48B238
tetradic
#3848B2 #B23885 #B2A238 #38B265
square
#3848B2 #B23885 #B2A238 #38B265
split-complementary
#3848B2 #B26538 #85B238
monochromatic
#1B2255 #293583 #3848B2 #5C6ACC #8A95DA
Accessibility & contrast
On white
7.67
#3848B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3848B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3848B2
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3848B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3848B2 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3848b2; /* rgb */ color: rgb(56, 72, 178); /* oklch */ color: oklch(45.4% 0.168 271.5);
Tailwind
colors: {
custom: {
50: '#7e7aca',
500: '#3848b2',
950: '#000000',
},
}SCSS
$custom: #3848b2; $custom-light: #7e7aca; $custom-dark: #000000;
JSON
{
"hex": "#3848b2",
"rgb": {
"r": 56,
"g": 72,
"b": 178
},
"hsl": {
"h": 232.131,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.45435,
"c": 0.16816,
"h": 271.5
},
"luminance": 0.0869
}Semantic roles & 50–950 ramp
primary
#3848B2
secondary
#C5BC81
accent
#C94CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82