#3845B2#3845B2
#3845B2 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.172 H 272.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3845B2 |
|---|---|
| RGB | rgb(56, 69, 178) |
| HSL | hsl(234, 52%, 46%) |
| HSV | hsv(234, 69%, 70%) |
| CMYK | cmyk(68.5%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(34.62, 31.18, -59.56) |
| CIE-LCH | lch(34.62, 67.23, 297.63°) |
| OKLab | oklab(44.87% 0.0067 -0.1718) |
| OKLCH | oklch(44.87% 0.172 272.2) |
| XYZ | xyz(11.7922, 8.3102, 43.0934) |
| Luminance | 0.0831 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.09
Ocean Blue
#4F42B5
ΔE00 3.84
Sapphire (survey)
#2138AB
ΔE00 4.11
Blueberry
#464196
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.11
Blue (survey)
#0343DF
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3845B2 #B2A538
analogous
#3882B2 #3845B2 #6838B2
triadic
#3845B2 #B23845 #45B238
tetradic
#3845B2 #B23882 #B2A538 #38B268
square
#3845B2 #B23882 #B2A538 #38B268
split-complementary
#3845B2 #B26838 #82B238
monochromatic
#1B2155 #293383 #3845B2 #5C68CC #8A93DA
Accessibility & contrast
On white
7.89
#3845B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#3845B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3845B2
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3845B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3845B2 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3845b2; /* rgb */ color: rgb(56, 69, 178); /* oklch */ color: oklch(44.9% 0.172 272.2);
Tailwind
colors: {
custom: {
50: '#7e78ca',
500: '#3845b2',
950: '#000000',
},
}SCSS
$custom: #3845b2; $custom-light: #7e78ca; $custom-dark: #000000;
JSON
{
"hex": "#3845b2",
"rgb": {
"r": 56,
"g": 69,
"b": 178
},
"hsl": {
"h": 233.607,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.44874,
"c": 0.1719,
"h": 272.2
},
"luminance": 0.08311
}Semantic roles & 50–950 ramp
primary
#3845B2
secondary
#C5BD81
accent
#CC4CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82