#3F56C7#3F56C7

#3F56C7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.177 H 270.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#3F56C7
RGBrgb(63, 86, 199)
HSLhsl(230, 55%, 51%)
HSVhsv(230, 68%, 78%)
CMYKcmyk(68.3%, 56.8%, 0%, 22%)
CIE-LABlab(40.95, 28.76, -61.55)
CIE-LCHlch(40.95, 67.94, 295.05°)
OKLaboklab(50.2% 0.0003 -0.1772)
OKLCHoklch(50.2% 0.177 270.1)
XYZxyz(15.6830, 11.8343, 55.4795)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56C7 #C7B03F
analogous
#3F9AC7 #3F56C7 #6C3FC7
triadic
#3F56C7 #C73F56 #56C73F
tetradic
#3F56C7 #C73F9A #C7B03F #3FC76C
square
#3F56C7 #C73F9A #C7B03F #3FC76C
split-complementary
#3F56C7 #C76C3F #9AC73F
monochromatic
#202C6C #2D409B #3F56C7 #6E80D5 #9EA9E3

Accessibility & contrast

On white

6.24
#3F56C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3F56C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56C7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56C7#FFFFFF#000000##FFFFFF
##3F56C71.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f56c7;
/* rgb */ color: rgb(63, 86, 199);
/* oklch */ color: oklch(50.2% 0.177 270.1);
Tailwind
colors: {
  custom: {
    50: '#8485d9',
    500: '#3f56c7',
    950: '#000000',
  },
}
SCSS
$custom: #3f56c7;
$custom-light: #8485d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56c7",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 229.853,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.17725,
    "h": 270.1
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#3F56C7
secondary
#CFC593
accent
#C54ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F56C7

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

Preview Lab → · Contrast checker → · Palette generator →

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