#3F47D1#3F47D1

#3F47D1 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.4% C 0.208 H 273.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#3F47D1
RGBrgb(63, 71, 209)
HSLhsl(237, 61%, 53%)
HSVhsv(237, 70%, 82%)
CMYKcmyk(69.9%, 66%, 0%, 18%)
CIE-LABlab(38.14, 41.62, -71.93)
CIE-LCHlch(38.14, 83.10, 300.05°)
OKLaboklab(48.37% 0.011 -0.2078)
OKLCHoklch(48.37% 0.208 273)
XYZxyz(15.8079, 10.1652, 61.4382)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47D1 #D1C93F
analogous
#3F90D1 #3F47D1 #803FD1
triadic
#3F47D1 #D13F47 #47D13F
tetradic
#3F47D1 #D13F90 #D1C93F #3FD180
square
#3F47D1 #D13F90 #D1C93F #3FD180
split-complementary
#3F47D1 #D1803F #90D13F
monochromatic
#1D2279 #2930AA #3F47D1 #7076DD #A2A6E9

Accessibility & contrast

On white

6.92
#3F47D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3F47D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F47D1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47D1#FFFFFF#000000##FFFFFF
##3F47D11.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f47d1;
/* rgb */ color: rgb(63, 71, 209);
/* oklch */ color: oklch(48.4% 0.208 273.0);
Tailwind
colors: {
  custom: {
    50: '#877be0',
    500: '#3f47d1',
    950: '#000000',
  },
}
SCSS
$custom: #3f47d1;
$custom-light: #877be0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47d1",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 236.712,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48373,
    "c": 0.20812,
    "h": 273
  },
  "luminance": 0.10167
}

Semantic roles & 50–950 ramp

primary
#3F47D1
secondary
#D5D297
accent
#DC43E4
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3F47D1

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

Preview Lab → · Contrast checker → · Palette generator →

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