#3846AC#3846AC
#3846AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.162 H 272.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #3846AC |
|---|---|
| RGB | rgb(56, 70, 172) |
| HSL | hsl(233, 51%, 45%) |
| HSV | hsv(233, 67%, 67%) |
| CMYK | cmyk(67.4%, 59.3%, 0%, 32.5%) |
| CIE-LAB | lab(34.39, 28.39, -56.37) |
| CIE-LCH | lch(34.39, 63.11, 296.73°) |
| OKLab | oklab(44.56% 0.0059 -0.1624) |
| OKLCH | oklch(44.56% 0.162 272.1) |
| XYZ | xyz(11.2649, 8.1986, 40.0106) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.92
Sapphire (survey)
#2138AB
ΔE00 4.30
Ocean Blue
#4F42B5
ΔE00 4.39
Blueberry
#464196
ΔE00 4.54
Cobalt
#0047AB
ΔE00 4.70
Sapphire
#0F52BA
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3846AC #AC9E38
analogous
#3880AC #3846AC #6438AC
triadic
#3846AC #AC3846 #46AC38
tetradic
#3846AC #AC3880 #AC9E38 #38AC64
square
#3846AC #AC3880 #AC9E38 #38AC64
split-complementary
#3846AC #AC6438 #80AC38
monochromatic
#1A2050 #29337E #3846AC #5866C9 #8790D8
Accessibility & contrast
On white
7.95
#3846AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#3846AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3846AC
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3846AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3846AC | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3846ac; /* rgb */ color: rgb(56, 70, 172); /* oklch */ color: oklch(44.6% 0.162 272.1);
Tailwind
colors: {
custom: {
50: '#7d79c6',
500: '#3846ac',
950: '#000000',
},
}SCSS
$custom: #3846ac; $custom-light: #7d79c6; $custom-dark: #000000;
JSON
{
"hex": "#3846ac",
"rgb": {
"r": 56,
"g": 70,
"b": 172
},
"hsl": {
"h": 232.759,
"s": 50.877,
"l": 44.706
},
"oklch": {
"l": 0.44555,
"c": 0.16248,
"h": 272.1
},
"luminance": 0.082
}Semantic roles & 50–950 ramp
primary
#3846AC
secondary
#C2BA7E
accent
#C94DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82