#3F47C1#3F47C1

#3F47C1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.9% C 0.188 H 273.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3F47C1
RGBrgb(63, 71, 193)
HSLhsl(236, 51%, 50%)
HSVhsv(236, 67%, 76%)
CMYKcmyk(67.4%, 63.2%, 0%, 24.3%)
CIE-LABlab(36.77, 36.15, -64.88)
CIE-LCHlch(36.77, 74.27, 299.13°)
OKLaboklab(46.95% 0.0122 -0.1872)
OKLCHoklch(46.95% 0.188 273.7)
XYZxyz(13.9256, 9.4122, 51.5246)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47C1 #C1B93F
analogous
#3F88C1 #3F47C1 #783FC1
triadic
#3F47C1 #C13F47 #47C13F
tetradic
#3F47C1 #C13F88 #C1B93F #3FC178
square
#3F47C1 #C13F88 #C1B93F #3FC178
split-complementary
#3F47C1 #C1783F #88C13F
monochromatic
#212565 #303693 #3F47C1 #6D73D0 #9CA0DF

Accessibility & contrast

On white

7.29
#3F47C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3F47C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47C1
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47C1#FFFFFF#000000##FFFFFF
##3F47C11.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f47c1;
/* rgb */ color: rgb(63, 71, 193);
/* oklch */ color: oklch(46.9% 0.188 273.7);
Tailwind
colors: {
  custom: {
    50: '#847ad5',
    500: '#3f47c1',
    950: '#000000',
  },
}
SCSS
$custom: #3f47c1;
$custom-light: #847ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47c1",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 193
  },
  "hsl": {
    "h": 236.308,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46949,
    "c": 0.18757,
    "h": 273.7
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#3F47C1
secondary
#CBC791
accent
#D24DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F47C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3F47C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva