#3947BF#3947BF

#3947BF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.187 H 271.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3947BF
RGBrgb(57, 71, 191)
HSLhsl(234, 54%, 49%)
HSVhsv(234, 70%, 75%)
CMYKcmyk(70.2%, 62.8%, 0%, 25.1%)
CIE-LABlab(36.25, 34.65, -64.57)
CIE-LCHlch(36.25, 73.28, 298.22°)
OKLaboklab(46.42% 0.0058 -0.1864)
OKLCHoklch(46.42% 0.187 271.8)
XYZxyz(13.3414, 9.1366, 50.3406)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947BF #BFB139
analogous
#398ABF #3947BF #6E39BF
triadic
#3947BF #BF3947 #47BF39
tetradic
#3947BF #BF398A #BFB139 #39BF6E
square
#3947BF #BF398A #BFB139 #39BF6E
split-complementary
#3947BF #BF6E39 #8ABF39
monochromatic
#1D2461 #2B3590 #3947BF #6470D1 #939BDF

Accessibility & contrast

On white

7.43
#3947BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3947BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947BF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947BF#FFFFFF#000000##FFFFFF
##3947BF1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3947bf;
/* rgb */ color: rgb(57, 71, 191);
/* oklch */ color: oklch(46.4% 0.187 271.8);
Tailwind
colors: {
  custom: {
    50: '#817ad3',
    500: '#3947bf',
    950: '#000000',
  },
}
SCSS
$custom: #3947bf;
$custom-light: #817ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3947bf",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 233.731,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46421,
    "c": 0.18651,
    "h": 271.8
  },
  "luminance": 0.09138
}

Semantic roles & 50–950 ramp

primary
#3947BF
secondary
#CAC38A
accent
#CE4ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3947BF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3947BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva