#3947C2#3947C2

#3947C2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.190 H 271.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3947C2
RGBrgb(57, 71, 194)
HSLhsl(234, 55%, 49%)
HSVhsv(234, 71%, 76%)
CMYKcmyk(70.6%, 63.4%, 0%, 23.9%)
CIE-LABlab(36.50, 35.71, -65.91)
CIE-LCHlch(36.50, 74.96, 298.45°)
OKLaboklab(46.69% 0.0057 -0.1903)
OKLCHoklch(46.69% 0.19 271.7)
XYZxyz(13.6749, 9.2700, 52.0971)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947C2 #C2B439
analogous
#398CC2 #3947C2 #7039C2
triadic
#3947C2 #C23947 #47C239
tetradic
#3947C2 #C2398C #C2B439 #39C270
square
#3947C2 #C2398C #C2B439 #39C270
split-complementary
#3947C2 #C27039 #8CC239
monochromatic
#1D2463 #2B3693 #3947C2 #6671D2 #959DE0

Accessibility & contrast

On white

7.36
#3947C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3947C2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947C2#FFFFFF#000000##FFFFFF
##3947C21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3947c2;
/* rgb */ color: rgb(57, 71, 194);
/* oklch */ color: oklch(46.7% 0.190 271.7);
Tailwind
colors: {
  custom: {
    50: '#827ad5',
    500: '#3947c2',
    950: '#000000',
  },
}
SCSS
$custom: #3947c2;
$custom-light: #827ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3947c2",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 233.869,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46686,
    "c": 0.19043,
    "h": 271.7
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3947C2

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

Preview Lab → · Contrast checker → · Palette generator →

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