#3F47D8#3F47D8

#3F47D8 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.0% C 0.217 H 272.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3F47D8
RGBrgb(63, 71, 216)
HSLhsl(237, 66%, 55%)
HSVhsv(237, 71%, 85%)
CMYKcmyk(70.8%, 67.1%, 0%, 15.3%)
CIE-LABlab(38.76, 43.98, -74.94)
CIE-LCHlch(38.76, 86.89, 300.41°)
OKLaboklab(49.01% 0.0104 -0.2166)
OKLCHoklch(49.01% 0.217 272.7)
XYZxyz(16.6936, 10.5195, 66.1031)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47D8 #D8D03F
analogous
#3F93D8 #3F47D8 #843FD8
triadic
#3F47D8 #D83F47 #47D83F
tetradic
#3F47D8 #D83F93 #D8D03F #3FD884
square
#3F47D8 #D83F93 #D8D03F #3FD884
split-complementary
#3F47D8 #D8843F #93D83F
monochromatic
#1A2082 #252CB5 #3F47D8 #7278E2 #A5A8ED

Accessibility & contrast

On white

6.77
#3F47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3F47D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F47D8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47D8#FFFFFF#000000##FFFFFF
##3F47D81.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0054D5
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3f47d8;
/* rgb */ color: rgb(63, 71, 216);
/* oklch */ color: oklch(49.0% 0.217 272.7);
Tailwind
colors: {
  custom: {
    50: '#897be5',
    500: '#3f47d8',
    950: '#000000',
  },
}
SCSS
$custom: #3f47d8;
$custom-light: #897be5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47d8",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 236.863,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49014,
    "c": 0.21688,
    "h": 272.7
  },
  "luminance": 0.10521
}

Semantic roles & 50–950 ramp

primary
#3F47D8
secondary
#DAD699
accent
#E03FE9
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3F47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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