#3947C4#3947C4

#3947C4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.9% C 0.193 H 271.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3947C4
RGBrgb(57, 71, 196)
HSLhsl(234, 55%, 50%)
HSVhsv(234, 71%, 77%)
CMYKcmyk(70.9%, 63.8%, 0%, 23.1%)
CIE-LABlab(36.67, 36.41, -66.80)
CIE-LCHlch(36.67, 76.08, 298.59°)
OKLaboklab(46.86% 0.0056 -0.193)
OKLCHoklch(46.86% 0.193 271.6)
XYZxyz(13.9010, 9.3605, 53.2880)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947C4 #C4B639
analogous
#398DC4 #3947C4 #7139C4
triadic
#3947C4 #C43947 #47C439
tetradic
#3947C4 #C4398D #C4B639 #39C471
square
#3947C4 #C4398D #C4B639 #39C471
split-complementary
#3947C4 #C47139 #8DC439
monochromatic
#1D2565 #2B3695 #3947C4 #6772D3 #979EE1

Accessibility & contrast

On white

7.31
#3947C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3947C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947C4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947C4#FFFFFF#000000##FFFFFF
##3947C41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3947c4;
/* rgb */ color: rgb(57, 71, 196);
/* oklch */ color: oklch(46.9% 0.193 271.6);
Tailwind
colors: {
  custom: {
    50: '#827ad7',
    500: '#3947c4',
    950: '#000000',
  },
}
SCSS
$custom: #3947c4;
$custom-light: #827ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3947c4",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 196
  },
  "hsl": {
    "h": 233.957,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46863,
    "c": 0.19304,
    "h": 271.6
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3947C4

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

Preview Lab → · Contrast checker → · Palette generator →

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