#3845AF#3845AF
#3845AF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.168 H 272.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3845AF |
|---|---|
| RGB | rgb(56, 69, 175) |
| HSL | hsl(233, 52%, 45%) |
| HSV | hsv(233, 68%, 69%) |
| CMYK | cmyk(68%, 60.6%, 0%, 31.4%) |
| CIE-LAB | lab(34.38, 30.11, -58.18) |
| CIE-LCH | lch(34.38, 65.51, 297.37°) |
| OKLab | oklab(44.62% 0.0068 -0.1677) |
| OKLCH | oklch(44.62% 0.168 272.3) |
| XYZ | xyz(11.4943, 8.1911, 41.5244) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.46
Ocean Blue
#4F42B5
ΔE00 4.01
Sapphire (survey)
#2138AB
ΔE00 4.04
Blueberry
#464196
ΔE00 4.72
Cobalt
#0047AB
ΔE00 4.96
Blue (survey)
#0343DF
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3845AF #AFA238
analogous
#3881AF #3845AF #6638AF
triadic
#3845AF #AF3845 #45AF38
tetradic
#3845AF #AF3881 #AFA238 #38AF66
square
#3845AF #AF3881 #AFA238 #38AF66
split-complementary
#3845AF #AF6638 #81AF38
monochromatic
#1A2052 #293381 #3845AF #5A66CA #8891D9
Accessibility & contrast
On white
7.96
#3845AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#3845AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3845AF
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3845AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3845AF | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3845af; /* rgb */ color: rgb(56, 69, 175); /* oklch */ color: oklch(44.6% 0.168 272.3);
Tailwind
colors: {
custom: {
50: '#7d78c8',
500: '#3845af',
950: '#000000',
},
}SCSS
$custom: #3845af; $custom-light: #7d78c8; $custom-dark: #000000;
JSON
{
"hex": "#3845af",
"rgb": {
"r": 56,
"g": 69,
"b": 175
},
"hsl": {
"h": 233.445,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.44618,
"c": 0.16784,
"h": 272.3
},
"luminance": 0.08192
}Semantic roles & 50–950 ramp
primary
#3845AF
secondary
#C3BC80
accent
#CB4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82