#3945AB#3945AB
#3945AB is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.162 H 272.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3945AB |
|---|---|
| RGB | rgb(57, 69, 171) |
| HSL | hsl(234, 50%, 45%) |
| HSV | hsv(234, 67%, 67%) |
| CMYK | cmyk(66.7%, 59.6%, 0%, 32.9%) |
| CIE-LAB | lab(34.12, 28.84, -56.22) |
| CIE-LCH | lch(34.12, 63.18, 297.16°) |
| OKLab | oklab(44.34% 0.0079 -0.1619) |
| OKLCH | oklch(44.34% 0.162 272.8) |
| XYZ | xyz(11.1637, 8.0654, 39.4886) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.01
Sapphire (survey)
#2138AB
ΔE00 4.08
Ocean Blue
#4F42B5
ΔE00 4.16
Blueberry
#464196
ΔE00 4.24
Cobalt
#0047AB
ΔE00 4.96
Darkslateblue
#483D8B
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3945AB #AB9F39
analogous
#397EAB #3945AB #6639AB
triadic
#3945AB #AB3945 #45AB39
tetradic
#3945AB #AB397E #AB9F39 #39AB66
square
#3945AB #AB397E #AB9F39 #39AB66
split-complementary
#3945AB #AB6639 #7EAB39
monochromatic
#1A204F #2A327D #3945AB #5965C8 #8790D7
Accessibility & contrast
On white
8.04
#3945AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#3945AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3945AB
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3945AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3945AB | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 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: #3945ab; /* rgb */ color: rgb(57, 69, 171); /* oklch */ color: oklch(44.3% 0.162 272.8);
Tailwind
colors: {
custom: {
50: '#7d78c5',
500: '#3945ab',
950: '#000000',
},
}SCSS
$custom: #3945ab; $custom-light: #7d78c5; $custom-dark: #000000;
JSON
{
"hex": "#3945ab",
"rgb": {
"r": 57,
"g": 69,
"b": 171
},
"hsl": {
"h": 233.684,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.44342,
"c": 0.16209,
"h": 272.8
},
"luminance": 0.08066
}Semantic roles & 50–950 ramp
primary
#3945AB
secondary
#C1BA7F
accent
#CB4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82