#3846AD#3846AD
#3846AD is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.164 H 272.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3846AD |
|---|---|
| RGB | rgb(56, 70, 173) |
| HSL | hsl(233, 51%, 45%) |
| HSV | hsv(233, 68%, 68%) |
| CMYK | cmyk(67.6%, 59.5%, 0%, 32.2%) |
| CIE-LAB | lab(34.47, 28.75, -56.83) |
| CIE-LCH | lch(34.47, 63.69, 296.83°) |
| OKLab | oklab(44.64% 0.0059 -0.1637) |
| OKLCH | oklch(44.64% 0.164 272.1) |
| XYZ | xyz(11.3613, 8.2372, 40.5183) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.79
Sapphire (survey)
#2138AB
ΔE00 4.29
Ocean Blue
#4F42B5
ΔE00 4.32
Blueberry
#464196
ΔE00 4.64
Cobalt
#0047AB
ΔE00 4.73
Sapphire
#0F52BA
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3846AD #AD9F38
analogous
#3880AD #3846AD #6538AD
triadic
#3846AD #AD3846 #46AD38
tetradic
#3846AD #AD3880 #AD9F38 #38AD65
square
#3846AD #AD3880 #AD9F38 #38AD65
split-complementary
#3846AD #AD6538 #80AD38
monochromatic
#1A2151 #29337F #3846AD #5966C9 #8791D8
Accessibility & contrast
On white
7.93
#3846AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#3846AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3846AD
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3846AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3846AD | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3846ad; /* rgb */ color: rgb(56, 70, 173); /* oklch */ color: oklch(44.6% 0.164 272.1);
Tailwind
colors: {
custom: {
50: '#7d79c6',
500: '#3846ad',
950: '#000000',
},
}SCSS
$custom: #3846ad; $custom-light: #7d79c6; $custom-dark: #000000;
JSON
{
"hex": "#3846ad",
"rgb": {
"r": 56,
"g": 70,
"b": 173
},
"hsl": {
"h": 232.821,
"s": 51.092,
"l": 44.902
},
"oklch": {
"l": 0.44638,
"c": 0.16385,
"h": 272.1
},
"luminance": 0.08238
}Semantic roles & 50–950 ramp
primary
#3846AD
secondary
#C2BA7F
accent
#CA4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82