#3F47BE#3F47BE

#3F47BE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.184 H 273.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3F47BE
RGBrgb(63, 71, 190)
HSLhsl(236, 50%, 50%)
HSVhsv(236, 67%, 75%)
CMYKcmyk(66.8%, 62.6%, 0%, 25.5%)
CIE-LABlab(36.52, 35.11, -63.53)
CIE-LCHlch(36.52, 72.59, 298.93°)
OKLaboklab(46.69% 0.0124 -0.1832)
OKLCHoklch(46.69% 0.184 273.9)
XYZxyz(13.5943, 9.2797, 49.7800)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47BE #BEB63F
analogous
#3F87BE #3F47BE #763FBE
triadic
#3F47BE #BE3F47 #47BE3F
tetradic
#3F47BE #BE3F87 #BEB63F #3FBE76
square
#3F47BE #BE3F87 #BEB63F #3FBE76
split-complementary
#3F47BE #BE763F #87BE3F
monochromatic
#212562 #303690 #3F47BE #6C72CE #9A9EDD

Accessibility & contrast

On white

7.35
#3F47BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3F47BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47BE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47BE#FFFFFF#000000##FFFFFF
##3F47BE1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f47be;
/* rgb */ color: rgb(63, 71, 190);
/* oklch */ color: oklch(46.7% 0.184 273.9);
Tailwind
colors: {
  custom: {
    50: '#837ad3',
    500: '#3f47be',
    950: '#000000',
  },
}
SCSS
$custom: #3f47be;
$custom-light: #837ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47be",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 236.22,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46689,
    "c": 0.18363,
    "h": 273.9
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#3F47BE
secondary
#C9C68F
accent
#D14EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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