#3F47B4#3F47B4

#3F47B4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.170 H 274.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#3F47B4
RGBrgb(63, 71, 180)
HSLhsl(236, 48%, 48%)
HSVhsv(236, 65%, 71%)
CMYKcmyk(65%, 60.6%, 0%, 29.4%)
CIE-LABlab(35.71, 31.65, -58.96)
CIE-LCHlch(35.71, 66.92, 298.23°)
OKLaboklab(45.84% 0.0128 -0.1698)
OKLCHoklch(45.84% 0.17 274.3)
XYZxyz(12.5386, 8.8574, 44.2201)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47B4 #B4AC3F
analogous
#3F82B4 #3F47B4 #713FB4
triadic
#3F47B4 #B43F47 #47B43F
tetradic
#3F47B4 #B43F82 #B4AC3F #3FB471
square
#3F47B4 #B43F82 #B4AC3F #3FB471
split-complementary
#3F47B4 #B4713F #82B43F
monochromatic
#1F2359 #2F3587 #3F47B4 #676DCA #9499DA

Accessibility & contrast

On white

7.58
#3F47B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3F47B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47B4
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47B4#FFFFFF#000000##FFFFFF
##3F47B41.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f47b4;
/* rgb */ color: rgb(63, 71, 180);
/* oklch */ color: oklch(45.8% 0.170 274.3);
Tailwind
colors: {
  custom: {
    50: '#817acb',
    500: '#3f47b4',
    950: '#000000',
  },
}
SCSS
$custom: #3f47b4;
$custom-light: #817acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47b4",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 235.897,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45841,
    "c": 0.17027,
    "h": 274.3
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#3F47B4
secondary
#C5C18A
accent
#CE50D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #3F47B4

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

Preview Lab → · Contrast checker → · Palette generator →

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