#3948B5#3948B5
#3948B5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.172 H 271.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #3948B5 |
|---|---|
| RGB | rgb(57, 72, 181) |
| HSL | hsl(233, 52%, 47%) |
| HSV | hsv(233, 69%, 71%) |
| CMYK | cmyk(68.5%, 60.2%, 0%, 29%) |
| CIE-LAB | lab(35.67, 30.46, -59.62) |
| CIE-LCH | lch(35.67, 66.95, 297.07°) |
| OKLab | oklab(45.74% 0.0053 -0.1719) |
| OKLCH | oklch(45.74% 0.172 271.8) |
| XYZ | xyz(12.3424, 8.8396, 44.7629) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.13
Ocean Blue
#4F42B5
ΔE00 4.16
Sapphire (survey)
#2138AB
ΔE00 4.99
Cobalt
#0047AB
ΔE00 5.02
Blue (survey)
#0343DF
ΔE00 5.43
Blueberry
#464196
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3948B5 #B5A639
analogous
#3986B5 #3948B5 #6839B5
triadic
#3948B5 #B53948 #48B539
tetradic
#3948B5 #B53986 #B5A639 #39B568
square
#3948B5 #B53986 #B5A639 #39B568
split-complementary
#3948B5 #B56839 #86B539
monochromatic
#1C2358 #2A3586 #3948B5 #5F6CCD #8D97DB
Accessibility & contrast
On white
7.59
#3948B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#3948B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3948B5
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3948B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3948B5 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3948b5; /* rgb */ color: rgb(57, 72, 181); /* oklch */ color: oklch(45.7% 0.172 271.8);
Tailwind
colors: {
custom: {
50: '#7f7bcc',
500: '#3948b5',
950: '#000000',
},
}SCSS
$custom: #3948b5; $custom-light: #7f7bcc; $custom-dark: #000000;
JSON
{
"hex": "#3948b5",
"rgb": {
"r": 57,
"g": 72,
"b": 181
},
"hsl": {
"h": 232.742,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.45744,
"c": 0.17196,
"h": 271.8
},
"luminance": 0.08841
}Semantic roles & 50–950 ramp
primary
#3948B5
secondary
#C6BE84
accent
#CA4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82