#3947C7#3947C7

#3947C7 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.197 H 271.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3947C7
RGBrgb(57, 71, 199)
HSLhsl(234, 56%, 50%)
HSVhsv(234, 71%, 78%)
CMYKcmyk(71.4%, 64.3%, 0%, 22%)
CIE-LABlab(36.93, 37.46, -68.13)
CIE-LCHlch(36.93, 77.75, 298.81°)
OKLaboklab(47.13% 0.0054 -0.1968)
OKLCHoklch(47.13% 0.197 271.6)
XYZxyz(14.2459, 9.4984, 55.1044)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3947C7 #C7B939
analogous
#398EC7 #3947C7 #7239C7
triadic
#3947C7 #C73947 #47C739
tetradic
#3947C7 #C7398E #C7B939 #39C772
square
#3947C7 #C7398E #C7B939 #39C772
split-complementary
#3947C7 #C77239 #8EC739
monochromatic
#1D2568 #2B3698 #3947C7 #6973D4 #98A0E2

Accessibility & contrast

On white

7.24
#3947C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3947C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3947C7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3947C7#FFFFFF#000000##FFFFFF
##3947C71.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3947c7;
/* rgb */ color: rgb(57, 71, 199);
/* oklch */ color: oklch(47.1% 0.197 271.6);
Tailwind
colors: {
  custom: {
    50: '#837ad9',
    500: '#3947c7',
    950: '#000000',
  },
}
SCSS
$custom: #3947c7;
$custom-light: #837ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3947c7",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 234.085,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47131,
    "c": 0.19691,
    "h": 271.6
  },
  "luminance": 0.095
}

Semantic roles & 50–950 ramp

primary
#3947C7
secondary
#CEC78E
accent
#D049DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3947C7

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

Preview Lab → · Contrast checker → · Palette generator →

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