#3F47B2#3F47B2

#3F47B2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.168 H 274.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3F47B2
RGBrgb(63, 71, 178)
HSLhsl(236, 48%, 47%)
HSVhsv(236, 65%, 70%)
CMYKcmyk(64.6%, 60.1%, 0%, 30.2%)
CIE-LABlab(35.55, 30.96, -58.03)
CIE-LCHlch(35.55, 65.77, 298.08°)
OKLaboklab(45.68% 0.0128 -0.1671)
OKLCHoklch(45.68% 0.168 274.4)
XYZxyz(12.3364, 8.7765, 43.1548)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47B2 #B2AA3F
analogous
#3F81B2 #3F47B2 #713FB2
triadic
#3F47B2 #B23F47 #47B23F
tetradic
#3F47B2 #B23F81 #B2AA3F #3FB271
square
#3F47B2 #B23F81 #B2AA3F #3FB271
split-complementary
#3F47B2 #B2713F #81B23F
monochromatic
#1F2358 #2F3585 #3F47B2 #666CC9 #9398D9

Accessibility & contrast

On white

7.62
#3F47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3F47B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47B2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47B2#FFFFFF#000000##FFFFFF
##3F47B21.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f47b2;
/* rgb */ color: rgb(63, 71, 178);
/* oklch */ color: oklch(45.7% 0.168 274.4);
Tailwind
colors: {
  custom: {
    50: '#817aca',
    500: '#3f47b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f47b2;
$custom-light: #817aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47b2",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 235.826,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.16756,
    "h": 274.4
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#3F47B2
secondary
#C4C089
accent
#CE50D7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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