#3F47AE#3F47AE

#3F47AE is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.162 H 274.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3F47AE
RGBrgb(63, 71, 174)
HSLhsl(236, 47%, 46%)
HSVhsv(236, 64%, 68%)
CMYKcmyk(63.8%, 59.2%, 0%, 31.8%)
CIE-LABlab(35.24, 29.56, -56.16)
CIE-LCHlch(35.24, 63.47, 297.76°)
OKLaboklab(45.35% 0.0129 -0.1616)
OKLCHoklch(45.35% 0.162 274.6)
XYZxyz(11.9406, 8.6182, 41.0704)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47AE #AEA63F
analogous
#3F7FAE #3F47AE #6F3FAE
triadic
#3F47AE #AE3F47 #47AE3F
tetradic
#3F47AE #AE3F7F #AEA63F #3FAE6F
square
#3F47AE #AE3F7F #AEA63F #3FAE6F
split-complementary
#3F47AE #AE6F3F #7FAE3F
monochromatic
#1E2254 #2F3581 #3F47AE #646BC7 #9096D7

Accessibility & contrast

On white

7.71
#3F47AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3F47AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47AE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47AE#FFFFFF#000000##FFFFFF
##3F47AE1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f47ae;
/* rgb */ color: rgb(63, 71, 174);
/* oklch */ color: oklch(45.3% 0.162 274.6);
Tailwind
colors: {
  custom: {
    50: '#807ac7',
    500: '#3f47ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f47ae;
$custom-light: #807ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47ae",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 235.676,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45346,
    "c": 0.16209,
    "h": 274.6
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#3F47AE
secondary
#C2BE87
accent
#CD51D6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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