#3948AE#3948AE
#3948AE is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.162 H 271.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3948AE |
|---|---|
| RGB | rgb(57, 72, 174) |
| HSL | hsl(232, 51%, 45%) |
| HSV | hsv(232, 67%, 68%) |
| CMYK | cmyk(67.2%, 58.6%, 0%, 31.8%) |
| CIE-LAB | lab(35.12, 27.96, -56.37) |
| CIE-LCH | lch(35.12, 62.92, 296.38°) |
| OKLab | oklab(45.16% 0.0053 -0.1623) |
| OKLCH | oklch(45.16% 0.162 271.9) |
| XYZ | xyz(11.6421, 8.5595, 41.0748) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.92
Ocean Blue
#4F42B5
ΔE00 4.53
Cobalt
#0047AB
ΔE00 4.66
Sapphire (survey)
#2138AB
ΔE00 4.87
Blueberry
#464196
ΔE00 4.95
Sapphire
#0F52BA
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3948AE #AE9F39
analogous
#3982AE #3948AE #6539AE
triadic
#3948AE #AE3948 #48AE39
tetradic
#3948AE #AE3982 #AE9F39 #39AE65
square
#3948AE #AE3982 #AE9F39 #39AE65
split-complementary
#3948AE #AE6539 #82AE39
monochromatic
#1B2252 #2A3580 #3948AE #5B69C9 #8993D8
Accessibility & contrast
On white
7.74
#3948AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#3948AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3948AE
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3948AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3948AE | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3948ae; /* rgb */ color: rgb(57, 72, 174); /* oklch */ color: oklch(45.2% 0.162 271.9);
Tailwind
colors: {
custom: {
50: '#7d7ac7',
500: '#3948ae',
950: '#000000',
},
}SCSS
$custom: #3948ae; $custom-light: #7d7ac7; $custom-dark: #000000;
JSON
{
"hex": "#3948ae",
"rgb": {
"r": 57,
"g": 72,
"b": 174
},
"hsl": {
"h": 232.308,
"s": 50.649,
"l": 45.294
},
"oklch": {
"l": 0.45161,
"c": 0.16242,
"h": 271.9
},
"luminance": 0.08561
}Semantic roles & 50–950 ramp
primary
#3948AE
secondary
#C3BA80
accent
#C84EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82