#3F47D7#3F47D7

#3F47D7 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.9% C 0.216 H 272.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#3F47D7
RGBrgb(63, 71, 215)
HSLhsl(237, 66%, 55%)
HSVhsv(237, 71%, 84%)
CMYKcmyk(70.7%, 67%, 0%, 15.7%)
CIE-LABlab(38.67, 43.64, -74.51)
CIE-LCHlch(38.67, 86.35, 300.36°)
OKLaboklab(48.92% 0.0105 -0.2154)
OKLCHoklch(48.92% 0.216 272.8)
XYZxyz(16.5648, 10.4679, 65.4243)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47D7 #D7CF3F
analogous
#3F93D7 #3F47D7 #833FD7
triadic
#3F47D7 #D73F47 #47D73F
tetradic
#3F47D7 #D73F93 #D7CF3F #3FD783
square
#3F47D7 #D73F93 #D7CF3F #3FD783
split-complementary
#3F47D7 #D7833F #93D73F
monochromatic
#1B2081 #252DB3 #3F47D7 #7278E2 #A4A8EC

Accessibility & contrast

On white

6.79
#3F47D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3F47D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F47D7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47D7#FFFFFF#000000##FFFFFF
##3F47D71.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0054D4
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f47d7;
/* rgb */ color: rgb(63, 71, 215);
/* oklch */ color: oklch(48.9% 0.216 272.8);
Tailwind
colors: {
  custom: {
    50: '#897be5',
    500: '#3f47d7',
    950: '#000000',
  },
}
SCSS
$custom: #3f47d7;
$custom-light: #897be5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47d7",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 236.842,
    "s": 65.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.48922,
    "c": 0.21563,
    "h": 272.8
  },
  "luminance": 0.1047
}

Semantic roles & 50–950 ramp

primary
#3F47D7
secondary
#D9D699
accent
#E03FE8
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3F47D7

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

Preview Lab → · Contrast checker → · Palette generator →

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