#3F47C2#3F47C2

#3F47C2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.0% C 0.189 H 273.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#3F47C2
RGBrgb(63, 71, 194)
HSLhsl(236, 52%, 50%)
HSVhsv(236, 68%, 76%)
CMYKcmyk(67.5%, 63.4%, 0%, 23.9%)
CIE-LABlab(36.85, 36.49, -65.32)
CIE-LCHlch(36.85, 74.83, 299.19°)
OKLaboklab(47.04% 0.0122 -0.1885)
OKLCHoklch(47.04% 0.189 273.7)
XYZxyz(14.0375, 9.4570, 52.1141)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47C2 #C2BA3F
analogous
#3F88C2 #3F47C2 #783FC2
triadic
#3F47C2 #C23F47 #47C23F
tetradic
#3F47C2 #C23F88 #C2BA3F #3FC278
square
#3F47C2 #C23F88 #C2BA3F #3FC278
split-complementary
#3F47C2 #C2783F #88C23F
monochromatic
#202566 #2F3595 #3F47C2 #6D74D1 #9CA0E0

Accessibility & contrast

On white

7.26
#3F47C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3F47C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47C2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47C2#FFFFFF#000000##FFFFFF
##3F47C21.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f47c2;
/* rgb */ color: rgb(63, 71, 194);
/* oklch */ color: oklch(47.0% 0.189 273.7);
Tailwind
colors: {
  custom: {
    50: '#847ad5',
    500: '#3f47c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f47c2;
$custom-light: #847ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47c2",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 236.336,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47036,
    "c": 0.18887,
    "h": 273.7
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#3F47C2
secondary
#CCC891
accent
#D34DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3F47C2

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

Preview Lab → · Contrast checker → · Palette generator →

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