#3846B2#3846B2
#3846B2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.1% C 0.171 H 272.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #3846B2 |
|---|---|
| RGB | rgb(56, 70, 178) |
| HSL | hsl(233, 52%, 46%) |
| HSV | hsv(233, 69%, 70%) |
| CMYK | cmyk(68.5%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(34.87, 30.54, -59.15) |
| CIE-LCH | lch(34.87, 66.57, 297.31°) |
| OKLab | oklab(45.06% 0.0059 -0.1706) |
| OKLCH | oklch(45.06% 0.171 272) |
| XYZ | xyz(11.8542, 8.4343, 43.1141) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.17
Ocean Blue
#4F42B5
ΔE00 4.01
Sapphire (survey)
#2138AB
ΔE00 4.35
Cobalt
#0047AB
ΔE00 4.96
Blueberry
#464196
ΔE00 5.13
Blue (survey)
#0343DF
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3846B2 #B2A438
analogous
#3883B2 #3846B2 #6738B2
triadic
#3846B2 #B23846 #46B238
tetradic
#3846B2 #B23883 #B2A438 #38B267
square
#3846B2 #B23883 #B2A438 #38B267
split-complementary
#3846B2 #B26738 #83B238
monochromatic
#1B2155 #293483 #3846B2 #5C68CC #8A93DA
Accessibility & contrast
On white
7.82
#3846B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#3846B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3846B2
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3846B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3846B2 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3846b2; /* rgb */ color: rgb(56, 70, 178); /* oklch */ color: oklch(45.1% 0.171 272.0);
Tailwind
colors: {
custom: {
50: '#7e79ca',
500: '#3846b2',
950: '#000000',
},
}SCSS
$custom: #3846b2; $custom-light: #7e79ca; $custom-dark: #000000;
JSON
{
"hex": "#3846b2",
"rgb": {
"r": 56,
"g": 70,
"b": 178
},
"hsl": {
"h": 233.115,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.45059,
"c": 0.17066,
"h": 272
},
"luminance": 0.08435
}Semantic roles & 50–950 ramp
primary
#3846B2
secondary
#C5BD81
accent
#CB4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82