#3F47BB#3F47BB

#3F47BB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.4% C 0.180 H 274.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#3F47BB
RGBrgb(63, 71, 187)
HSLhsl(236, 50%, 49%)
HSVhsv(236, 66%, 73%)
CMYKcmyk(66.3%, 62%, 0%, 26.7%)
CIE-LABlab(36.27, 34.08, -62.17)
CIE-LCHlch(36.27, 70.89, 298.73°)
OKLaboklab(46.43% 0.0125 -0.1792)
OKLCHoklch(46.43% 0.18 274)
XYZxyz(13.2698, 9.1499, 48.0709)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47BB #BBB33F
analogous
#3F85BB #3F47BB #753FBB
triadic
#3F47BB #BB3F47 #47BB3F
tetradic
#3F47BB #BB3F85 #BBB33F #3FBB75
square
#3F47BB #BB3F85 #BBB33F #3FBB75
split-complementary
#3F47BB #BB753F #85BB3F
monochromatic
#20245F #30368D #3F47BB #6A71CD #989CDC

Accessibility & contrast

On white

7.42
#3F47BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3F47BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47BB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47BB#FFFFFF#000000##FFFFFF
##3F47BB1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f47bb;
/* rgb */ color: rgb(63, 71, 187);
/* oklch */ color: oklch(46.4% 0.180 274.0);
Tailwind
colors: {
  custom: {
    50: '#837ad0',
    500: '#3f47bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f47bb;
$custom-light: #837ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47bb",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 236.129,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.17966,
    "h": 274
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#3F47BB
secondary
#C8C48E
accent
#D04FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3F47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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