#3F56CE#3F56CE

#3F56CE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.187 H 270.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#3F56CE
RGBrgb(63, 86, 206)
HSLhsl(230, 59%, 53%)
HSVhsv(230, 69%, 81%)
CMYKcmyk(69.4%, 58.3%, 0%, 19.2%)
CIE-LABlab(41.48, 31.25, -64.74)
CIE-LCHlch(41.48, 71.88, 295.77°)
OKLaboklab(50.76% 0.0004 -0.1866)
OKLCHoklch(50.76% 0.187 270.1)
XYZxyz(16.5145, 12.1669, 59.8587)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56CE #CEB73F
analogous
#3F9DCE #3F56CE #703FCE
triadic
#3F56CE #CE3F56 #56CE3F
tetradic
#3F56CE #CE3F9D #CEB73F #3FCE70
square
#3F56CE #CE3F9D #CEB73F #3FCE70
split-complementary
#3F56CE #CE703F #9DCE3F
monochromatic
#1E2C75 #2A3EA6 #3F56CE #7081DA #A1ACE7

Accessibility & contrast

On white

6.12
#3F56CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3F56CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56CE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56CE#FFFFFF#000000##FFFFFF
##3F56CE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f56ce;
/* rgb */ color: rgb(63, 86, 206);
/* oklch */ color: oklch(50.8% 0.187 270.1);
Tailwind
colors: {
  custom: {
    50: '#8685de',
    500: '#3f56ce',
    950: '#000000',
  },
}
SCSS
$custom: #3f56ce;
$custom-light: #8685de;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56ce",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 230.35,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50758,
    "c": 0.18661,
    "h": 270.1
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#3F56CE
secondary
#D3C995
accent
#C945E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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