#3F47CE#3F47CE

#3F47CE is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.1% C 0.204 H 273.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3F47CE
RGBrgb(63, 71, 206)
HSLhsl(237, 59%, 53%)
HSVhsv(237, 69%, 81%)
CMYKcmyk(69.4%, 65.5%, 0%, 19.2%)
CIE-LABlab(37.87, 40.60, -70.62)
CIE-LCHlch(37.87, 81.46, 299.89°)
OKLaboklab(48.1% 0.0113 -0.204)
OKLCHoklch(48.1% 0.204 273.2)
XYZxyz(15.4400, 10.0180, 59.5005)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47CE #CEC63F
analogous
#3F8FCE #3F47CE #7E3FCE
triadic
#3F47CE #CE3F47 #47CE3F
tetradic
#3F47CE #CE3F8F #CEC63F #3FCE7E
square
#3F47CE #CE3F8F #CEC63F #3FCE7E
split-complementary
#3F47CE #CE7E3F #8FCE3F
monochromatic
#1E2375 #2A31A6 #3F47CE #7076DA #A1A4E7

Accessibility & contrast

On white

6.99
#3F47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#3F47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F47CE
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47CE#FFFFFF#000000##FFFFFF
##3F47CE1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f47ce;
/* rgb */ color: rgb(63, 71, 206);
/* oklch */ color: oklch(48.1% 0.204 273.2);
Tailwind
colors: {
  custom: {
    50: '#877ade',
    500: '#3f47ce',
    950: '#000000',
  },
}
SCSS
$custom: #3f47ce;
$custom-light: #877ade;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47ce",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 236.643,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48101,
    "c": 0.20432,
    "h": 273.2
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#3F47CE
secondary
#D3D095
accent
#DA45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3F47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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