#3F47B5#3F47B5

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

Color values

HEX#3F47B5
RGBrgb(63, 71, 181)
HSLhsl(236, 48%, 48%)
HSVhsv(236, 65%, 71%)
CMYKcmyk(65.2%, 60.8%, 0%, 29%)
CIE-LABlab(35.79, 32.00, -59.42)
CIE-LCHlch(35.79, 67.49, 298.30°)
OKLaboklab(45.93% 0.0127 -0.1711)
OKLCHoklch(45.93% 0.172 274.3)
XYZxyz(12.6409, 8.8983, 44.7585)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47B5 #B5AD3F
analogous
#3F82B5 #3F47B5 #723FB5
triadic
#3F47B5 #B53F47 #47B53F
tetradic
#3F47B5 #B53F82 #B5AD3F #3FB572
square
#3F47B5 #B53F82 #B5AD3F #3FB572
split-complementary
#3F47B5 #B5723F #82B53F
monochromatic
#1F235A #2F3588 #3F47B5 #676ECA #9499DA

Accessibility & contrast

On white

7.55
#3F47B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3F47B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47B5
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47B5#FFFFFF#000000##FFFFFF
##3F47B51.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f47b5;
/* rgb */ color: rgb(63, 71, 181);
/* oklch */ color: oklch(45.9% 0.172 274.3);
Tailwind
colors: {
  custom: {
    50: '#827acc',
    500: '#3f47b5',
    950: '#000000',
  },
}
SCSS
$custom: #3f47b5;
$custom-light: #827acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47b5",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 235.932,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45925,
    "c": 0.17162,
    "h": 274.3
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F47B5

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

Preview Lab → · Contrast checker → · Palette generator →

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