#3F47BD#3F47BD

#3F47BD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.6% C 0.182 H 273.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3F47BD
RGBrgb(63, 71, 189)
HSLhsl(236, 50%, 49%)
HSVhsv(236, 67%, 74%)
CMYKcmyk(66.7%, 62.4%, 0%, 25.9%)
CIE-LABlab(36.44, 34.77, -63.07)
CIE-LCHlch(36.44, 72.02, 298.87°)
OKLaboklab(46.6% 0.0124 -0.1819)
OKLCHoklch(46.6% 0.182 273.9)
XYZxyz(13.4854, 9.2362, 49.2063)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47BD #BDB53F
analogous
#3F86BD #3F47BD #763FBD
triadic
#3F47BD #BD3F47 #47BD3F
tetradic
#3F47BD #BD3F86 #BDB53F #3FBD76
square
#3F47BD #BD3F86 #BDB53F #3FBD76
split-complementary
#3F47BD #BD763F #86BD3F
monochromatic
#202561 #30368F #3F47BD #6B72CE #999EDD

Accessibility & contrast

On white

7.38
#3F47BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3F47BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47BD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47BD#FFFFFF#000000##FFFFFF
##3F47BD1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f47bd;
/* rgb */ color: rgb(63, 71, 189);
/* oklch */ color: oklch(46.6% 0.182 273.9);
Tailwind
colors: {
  custom: {
    50: '#837ad2',
    500: '#3f47bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f47bd;
$custom-light: #837ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47bd",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 236.19,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46603,
    "c": 0.18231,
    "h": 273.9
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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