#3946AF#3946AF
#3946AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.166 H 272.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3946AF |
|---|---|
| RGB | rgb(57, 70, 175) |
| HSL | hsl(233, 51%, 45%) |
| HSV | hsv(233, 67%, 69%) |
| CMYK | cmyk(67.4%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(34.69, 29.61, -57.67) |
| CIE-LCH | lch(34.69, 64.83, 297.18°) |
| OKLab | oklab(44.87% 0.007 -0.1662) |
| OKLCH | oklch(44.87% 0.166 272.4) |
| XYZ | xyz(11.6128, 8.3443, 41.5477) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.57
Ocean Blue
#4F42B5
ΔE00 4.05
Sapphire (survey)
#2138AB
ΔE00 4.34
Blueberry
#464196
ΔE00 4.75
Cobalt
#0047AB
ΔE00 4.95
Blue (survey)
#0343DF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3946AF #AFA239
analogous
#3981AF #3946AF #6739AF
triadic
#3946AF #AF3946 #46AF39
tetradic
#3946AF #AF3981 #AFA239 #39AF67
square
#3946AF #AF3981 #AFA239 #39AF67
split-complementary
#3946AF #AF6739 #81AF39
monochromatic
#1B2153 #2A3481 #3946AF #5B68CA #8A92D9
Accessibility & contrast
On white
7.87
#3946AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#3946AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3946AF
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3946AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3946AF | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3946af; /* rgb */ color: rgb(57, 70, 175); /* oklch */ color: oklch(44.9% 0.166 272.4);
Tailwind
colors: {
custom: {
50: '#7e79c8',
500: '#3946af',
950: '#000000',
},
}SCSS
$custom: #3946af; $custom-light: #7e79c8; $custom-dark: #000000;
JSON
{
"hex": "#3946af",
"rgb": {
"r": 57,
"g": 70,
"b": 175
},
"hsl": {
"h": 233.39,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.44865,
"c": 0.16631,
"h": 272.4
},
"luminance": 0.08345
}Semantic roles & 50–950 ramp
primary
#3946AF
secondary
#C3BC81
accent
#CB4DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82