#3845B3#3845B3
#3845B3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.173 H 272.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3845B3 |
|---|---|
| RGB | rgb(56, 69, 179) |
| HSL | hsl(234, 52%, 46%) |
| HSV | hsv(234, 69%, 70%) |
| CMYK | cmyk(68.7%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(34.70, 31.54, -60.02) |
| CIE-LCH | lch(34.70, 67.81, 297.72°) |
| OKLab | oklab(44.96% 0.0067 -0.1731) |
| OKLCH | oklch(44.96% 0.173 272.2) |
| XYZ | xyz(11.8930, 8.3505, 43.6241) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.98
Ocean Blue
#4F42B5
ΔE00 3.79
Sapphire (survey)
#2138AB
ΔE00 4.14
Blueberry
#464196
ΔE00 5.14
Cobalt
#0047AB
ΔE00 5.16
Blue (survey)
#0343DF
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3845B3 #B3A638
analogous
#3882B3 #3845B3 #6938B3
triadic
#3845B3 #B33845 #45B338
tetradic
#3845B3 #B33882 #B3A638 #38B369
square
#3845B3 #B33882 #B3A638 #38B369
split-complementary
#3845B3 #B36938 #82B338
monochromatic
#1B2156 #293384 #3845B3 #5C68CC #8B93DB
Accessibility & contrast
On white
7.86
#3845B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#3845B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3845B3
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3845B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3845B3 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3845b3; /* rgb */ color: rgb(56, 69, 179); /* oklch */ color: oklch(45.0% 0.173 272.2);
Tailwind
colors: {
custom: {
50: '#7e78cb',
500: '#3845b3',
950: '#000000',
},
}SCSS
$custom: #3845b3; $custom-light: #7e78cb; $custom-dark: #000000;
JSON
{
"hex": "#3845b3",
"rgb": {
"r": 56,
"g": 69,
"b": 179
},
"hsl": {
"h": 233.659,
"s": 52.34,
"l": 46.078
},
"oklch": {
"l": 0.4496,
"c": 0.17324,
"h": 272.2
},
"luminance": 0.08352
}Semantic roles & 50–950 ramp
primary
#3845B3
secondary
#C5BE82
accent
#CD4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82