#3948B2#3948B2
#3948B2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.168 H 271.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3948B2 |
|---|---|
| RGB | rgb(57, 72, 178) |
| HSL | hsl(233, 51%, 46%) |
| HSV | hsv(233, 68%, 70%) |
| CMYK | cmyk(68%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(35.44, 29.39, -58.23) |
| CIE-LCH | lch(35.44, 65.23, 296.78°) |
| OKLab | oklab(45.49% 0.0053 -0.1678) |
| OKLCH | oklch(45.49% 0.168 271.8) |
| XYZ | xyz(12.0379, 8.7178, 43.1592) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.45
Ocean Blue
#4F42B5
ΔE00 4.29
Cobalt
#0047AB
ΔE00 4.85
Sapphire (survey)
#2138AB
ΔE00 4.91
Blueberry
#464196
ΔE00 5.32
Sapphire
#0F52BA
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3948B2 #B2A339
analogous
#3984B2 #3948B2 #6639B2
triadic
#3948B2 #B23948 #48B239
tetradic
#3948B2 #B23984 #B2A339 #39B266
square
#3948B2 #B23984 #B2A339 #39B266
split-complementary
#3948B2 #B26639 #84B239
monochromatic
#1B2255 #2A3584 #3948B2 #5D6BCB #8B95DA
Accessibility & contrast
On white
7.65
#3948B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3948B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3948B2
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3948B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3948B2 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3948b2; /* rgb */ color: rgb(57, 72, 178); /* oklch */ color: oklch(45.5% 0.168 271.8);
Tailwind
colors: {
custom: {
50: '#7e7aca',
500: '#3948b2',
950: '#000000',
},
}SCSS
$custom: #3948b2; $custom-light: #7e7aca; $custom-dark: #000000;
JSON
{
"hex": "#3948b2",
"rgb": {
"r": 57,
"g": 72,
"b": 178
},
"hsl": {
"h": 232.562,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.45493,
"c": 0.16789,
"h": 271.8
},
"luminance": 0.08719
}Semantic roles & 50–950 ramp
primary
#3948B2
secondary
#C4BC82
accent
#C94DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82