#3948B9#3948B9
#3948B9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.177 H 271.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #3948B9 |
|---|---|
| RGB | rgb(57, 72, 185) |
| HSL | hsl(233, 53%, 47%) |
| HSV | hsv(233, 69%, 73%) |
| CMYK | cmyk(69.2%, 61.1%, 0%, 27.5%) |
| CIE-LAB | lab(36.00, 31.89, -61.45) |
| CIE-LCH | lch(36.00, 69.24, 297.43°) |
| OKLab | oklab(46.08% 0.0053 -0.1773) |
| OKLCH | oklch(46.08% 0.177 271.7) |
| XYZ | xyz(12.7587, 9.0061, 46.9555) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.77
Ocean Blue
#4F42B5
ΔE00 4.06
Blue (survey)
#0343DF
ΔE00 4.94
Sapphire (survey)
#2138AB
ΔE00 5.16
Cobalt
#0047AB
ΔE00 5.31
Sapphire
#0F52BA
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3948B9 #B9AA39
analogous
#3988B9 #3948B9 #6A39B9
triadic
#3948B9 #B93948 #48B939
tetradic
#3948B9 #B93988 #B9AA39 #39B96A
square
#3948B9 #B93988 #B9AA39 #39B96A
split-complementary
#3948B9 #B96A39 #88B939
monochromatic
#1C245B #2B368A #3948B9 #616ECE #9099DD
Accessibility & contrast
On white
7.50
#3948B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#3948B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3948B9
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3948B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3948B9 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #3948b9; /* rgb */ color: rgb(57, 72, 185); /* oklch */ color: oklch(46.1% 0.177 271.7);
Tailwind
colors: {
custom: {
50: '#807bcf',
500: '#3948b9',
950: '#000000',
},
}SCSS
$custom: #3948b9; $custom-light: #807bcf; $custom-dark: #000000;
JSON
{
"hex": "#3948b9",
"rgb": {
"r": 57,
"g": 72,
"b": 185
},
"hsl": {
"h": 232.969,
"s": 52.893,
"l": 47.451
},
"oklch": {
"l": 0.46083,
"c": 0.17734,
"h": 271.7
},
"luminance": 0.09007
}Semantic roles & 50–950 ramp
primary
#3948B9
secondary
#C8C086
accent
#CB4BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82