#3948B7#3948B7
#3948B7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.175 H 271.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3948B7 |
|---|---|
| RGB | rgb(57, 72, 183) |
| HSL | hsl(233, 53%, 47%) |
| HSV | hsv(233, 69%, 72%) |
| CMYK | cmyk(68.9%, 60.7%, 0%, 28.2%) |
| CIE-LAB | lab(35.83, 31.18, -60.54) |
| CIE-LCH | lch(35.83, 68.10, 297.25°) |
| OKLab | oklab(45.91% 0.0053 -0.1746) |
| OKLCH | oklch(45.91% 0.175 271.7) |
| XYZ | xyz(12.5491, 8.9223, 45.8514) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.94
Ocean Blue
#4F42B5
ΔE00 4.10
Sapphire (survey)
#2138AB
ΔE00 5.07
Cobalt
#0047AB
ΔE00 5.16
Blue (survey)
#0343DF
ΔE00 5.18
Sapphire
#0F52BA
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3948B7 #B7A839
analogous
#3987B7 #3948B7 #6939B7
triadic
#3948B7 #B73948 #48B739
tetradic
#3948B7 #B73987 #B7A839 #39B769
square
#3948B7 #B73987 #B7A839 #39B769
split-complementary
#3948B7 #B76939 #87B739
monochromatic
#1C235A #2A3688 #3948B7 #606DCD #8E98DC
Accessibility & contrast
On white
7.54
#3948B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#3948B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3948B7
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3948B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3948B7 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3948b7; /* rgb */ color: rgb(57, 72, 183); /* oklch */ color: oklch(45.9% 0.175 271.7);
Tailwind
colors: {
custom: {
50: '#7f7bcd',
500: '#3948b7',
950: '#000000',
},
}SCSS
$custom: #3948b7; $custom-light: #7f7bcd; $custom-dark: #000000;
JSON
{
"hex": "#3948b7",
"rgb": {
"r": 57,
"g": 72,
"b": 183
},
"hsl": {
"h": 232.857,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.45913,
"c": 0.17466,
"h": 271.7
},
"luminance": 0.08923
}Semantic roles & 50–950 ramp
primary
#3948B7
secondary
#C7BF85
accent
#CB4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82