#3847B5#3847B5
#3847B5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.173 H 271.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3847B5 |
|---|---|
| RGB | rgb(56, 71, 181) |
| HSL | hsl(233, 53%, 46%) |
| HSV | hsv(233, 69%, 71%) |
| CMYK | cmyk(69.1%, 60.8%, 0%, 29%) |
| CIE-LAB | lab(35.37, 30.97, -60.13) |
| CIE-LCH | lch(35.37, 67.63, 297.25°) |
| OKLab | oklab(45.5% 0.0051 -0.1734) |
| OKLCH | oklch(45.5% 0.173 271.7) |
| XYZ | xyz(12.2218, 8.6823, 44.7389) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.95
Ocean Blue
#4F42B5
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 4.70
Cobalt
#0047AB
ΔE00 5.01
Blue (survey)
#0343DF
ΔE00 5.36
Blueberry
#464196
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3847B5 #B5A638
analogous
#3886B5 #3847B5 #6838B5
triadic
#3847B5 #B53847 #47B538
tetradic
#3847B5 #B53886 #B5A638 #38B568
square
#3847B5 #B53886 #B5A638 #38B568
split-complementary
#3847B5 #B56838 #86B538
monochromatic
#1B2258 #2A3586 #3847B5 #5D6BCD #8C96DB
Accessibility & contrast
On white
7.67
#3847B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3847B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3847B5
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3847B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3847B5 | 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)
#0059B9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3847b5; /* rgb */ color: rgb(56, 71, 181); /* oklch */ color: oklch(45.5% 0.173 271.7);
Tailwind
colors: {
custom: {
50: '#7e7acc',
500: '#3847b5',
950: '#000000',
},
}SCSS
$custom: #3847b5; $custom-light: #7e7acc; $custom-dark: #000000;
JSON
{
"hex": "#3847b5",
"rgb": {
"r": 56,
"g": 71,
"b": 181
},
"hsl": {
"h": 232.8,
"s": 52.743,
"l": 46.471
},
"oklch": {
"l": 0.455,
"c": 0.17347,
"h": 271.7
},
"luminance": 0.08683
}Semantic roles & 50–950 ramp
primary
#3847B5
secondary
#C6BE83
accent
#CB4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82