#3954BF#3954BF
#3954BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.171 H 268.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #3954BF |
|---|---|
| RGB | rgb(57, 84, 191) |
| HSL | hsl(228, 54%, 49%) |
| HSV | hsv(228, 70%, 75%) |
| CMYK | cmyk(70.2%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(39.53, 26.31, -59.22) |
| CIE-LCH | lch(39.53, 64.80, 293.96°) |
| OKLab | oklab(48.86% -0.0042 -0.1705) |
| OKLCH | oklch(48.86% 0.171 268.6) |
| XYZ | xyz(14.2584, 10.9707, 50.6462) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.75
Warm Blue
#4B57DB
ΔE00 4.87
Blue Blue
#2242C7
ΔE00 5.59
Cobalt
#0047AB
ΔE00 6.00
Azul
#1D5DEC
ΔE00 6.24
Blue (survey)
#0343DF
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3954BF #BFA439
analogous
#3997BF #3954BF #6139BF
triadic
#3954BF #BF3954 #54BF39
tetradic
#3954BF #BF3997 #BFA439 #39BF61
square
#3954BF #BF3997 #BFA439 #39BF61
split-complementary
#3954BF #BF6139 #97BF39
monochromatic
#1D2B61 #2B3F90 #3954BF #647AD1 #93A3DF
Accessibility & contrast
On white
6.57
#3954BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#3954BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3954BF
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3954BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3954BF | 1.00 | 6.57 | 3.19 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3954bf; /* rgb */ color: rgb(57, 84, 191); /* oklch */ color: oklch(48.9% 0.171 268.6);
Tailwind
colors: {
custom: {
50: '#8083d3',
500: '#3954bf',
950: '#000000',
},
}SCSS
$custom: #3954bf; $custom-light: #8083d3; $custom-dark: #000000;
JSON
{
"hex": "#3954bf",
"rgb": {
"r": 57,
"g": 84,
"b": 191
},
"hsl": {
"h": 227.91,
"s": 54.032,
"l": 48.627
},
"oklch": {
"l": 0.48863,
"c": 0.1706,
"h": 268.6
},
"luminance": 0.10972
}Semantic roles & 50–950 ramp
primary
#3954BF
secondary
#CABD8A
accent
#C04ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83