#3947C1#3947C1

#3947C1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.6% C 0.189 H 271.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3947C1
RGBrgb(57, 71, 193)
HSLhsl(234, 54%, 49%)
HSVhsv(234, 70%, 76%)
CMYKcmyk(70.5%, 63.2%, 0%, 24.3%)
CIE-LABlab(36.41, 35.36, -65.47)
CIE-LCHlch(36.41, 74.40, 298.37°)
OKLaboklab(46.6% 0.0057 -0.189)
OKLCHoklch(46.6% 0.189 271.7)
XYZxyz(13.5630, 9.2253, 51.5076)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947C1 #C1B339
analogous
#398BC1 #3947C1 #6F39C1
triadic
#3947C1 #C13947 #47C139
tetradic
#3947C1 #C1398B #C1B339 #39C16F
square
#3947C1 #C1398B #C1B339 #39C16F
split-complementary
#3947C1 #C16F39 #8BC139
monochromatic
#1D2463 #2B3692 #3947C1 #6671D2 #959CE0

Accessibility & contrast

On white

7.38
#3947C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3947C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947C1
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947C1#FFFFFF#000000##FFFFFF
##3947C11.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3947c1;
/* rgb */ color: rgb(57, 71, 193);
/* oklch */ color: oklch(46.6% 0.189 271.7);
Tailwind
colors: {
  custom: {
    50: '#817ad5',
    500: '#3947c1',
    950: '#000000',
  },
}
SCSS
$custom: #3947c1;
$custom-light: #817ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3947c1",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 193
  },
  "hsl": {
    "h": 233.824,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46597,
    "c": 0.18913,
    "h": 271.7
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#3947C1
secondary
#CBC48B
accent
#CF4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3947C1

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

Preview Lab → · Contrast checker → · Palette generator →

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