#3846AF#3846AF
#3846AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.167 H 272.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3846AF |
|---|---|
| RGB | rgb(56, 70, 175) |
| HSL | hsl(233, 52%, 45%) |
| HSV | hsv(233, 68%, 69%) |
| CMYK | cmyk(68%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(34.63, 29.47, -57.77) |
| CIE-LCH | lch(34.63, 64.85, 297.03°) |
| OKLab | oklab(44.81% 0.0059 -0.1665) |
| OKLCH | oklch(44.81% 0.167 272) |
| XYZ | xyz(11.5563, 8.3151, 41.5451) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.54
Ocean Blue
#4F42B5
ΔE00 4.18
Sapphire (survey)
#2138AB
ΔE00 4.30
Cobalt
#0047AB
ΔE00 4.81
Blueberry
#464196
ΔE00 4.83
Blue (survey)
#0343DF
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3846AF #AFA138
analogous
#3881AF #3846AF #6538AF
triadic
#3846AF #AF3846 #46AF38
tetradic
#3846AF #AF3881 #AFA138 #38AF65
square
#3846AF #AF3881 #AFA138 #38AF65
split-complementary
#3846AF #AF6538 #81AF38
monochromatic
#1A2152 #293381 #3846AF #5A67CA #8892D9
Accessibility & contrast
On white
7.89
#3846AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#3846AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3846AF
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3846AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3846AF | 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)
#0057B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3846af; /* rgb */ color: rgb(56, 70, 175); /* oklch */ color: oklch(44.8% 0.167 272.0);
Tailwind
colors: {
custom: {
50: '#7d79c8',
500: '#3846af',
950: '#000000',
},
}SCSS
$custom: #3846af; $custom-light: #7d79c8; $custom-dark: #000000;
JSON
{
"hex": "#3846af",
"rgb": {
"r": 56,
"g": 70,
"b": 175
},
"hsl": {
"h": 232.941,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.44806,
"c": 0.16659,
"h": 272
},
"luminance": 0.08316
}Semantic roles & 50–950 ramp
primary
#3846AF
secondary
#C3BB80
accent
#CA4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82