#3845AB#3845AB
#3845AB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.162 H 272.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #3845AB |
|---|---|
| RGB | rgb(56, 69, 171) |
| HSL | hsl(233, 51%, 45%) |
| HSV | hsv(233, 67%, 67%) |
| CMYK | cmyk(67.3%, 59.6%, 0%, 32.9%) |
| CIE-LAB | lab(34.06, 28.68, -56.32) |
| CIE-LCH | lch(34.06, 63.20, 296.99°) |
| OKLab | oklab(44.28% 0.0068 -0.1622) |
| OKLCH | oklch(44.28% 0.162 272.4) |
| XYZ | xyz(11.1072, 8.0363, 39.4860) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.04
Ocean Blue
#4F42B5
ΔE00 4.29
Blueberry
#464196
ΔE00 4.32
Cobalt
#0047AB
ΔE00 4.82
Sapphire
#0F52BA
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3845AB #AB9E38
analogous
#387FAB #3845AB #6438AB
triadic
#3845AB #AB3845 #45AB38
tetradic
#3845AB #AB387F #AB9E38 #38AB64
square
#3845AB #AB387F #AB9E38 #38AB64
split-complementary
#3845AB #AB6438 #7FAB38
monochromatic
#1A204F #29327D #3845AB #5865C8 #868FD7
Accessibility & contrast
On white
8.05
#3845AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#3845AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3845AB
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3845AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3845AB | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #3845ab; /* rgb */ color: rgb(56, 69, 171); /* oklch */ color: oklch(44.3% 0.162 272.4);
Tailwind
colors: {
custom: {
50: '#7d78c5',
500: '#3845ab',
950: '#000000',
},
}SCSS
$custom: #3845ab; $custom-light: #7d78c5; $custom-dark: #000000;
JSON
{
"hex": "#3845ab",
"rgb": {
"r": 56,
"g": 69,
"b": 171
},
"hsl": {
"h": 233.217,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.44281,
"c": 0.16237,
"h": 272.4
},
"luminance": 0.08037
}Semantic roles & 50–950 ramp
primary
#3845AB
secondary
#C1BA7D
accent
#CA4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82