#3F56BE#3F56BE

#3F56BE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.165 H 270.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#3F56BE
RGBrgb(63, 86, 190)
HSLhsl(229, 50%, 50%)
HSVhsv(229, 67%, 75%)
CMYKcmyk(66.8%, 54.7%, 0%, 25.5%)
CIE-LABlab(40.29, 25.55, -57.38)
CIE-LCHlch(40.29, 62.82, 294.00°)
OKLaboklab(49.5% -0.0001 -0.165)
OKLCHoklch(49.5% 0.165 270)
XYZxyz(14.6688, 11.4287, 50.1381)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56BE #BEA73F
analogous
#3F96BE #3F56BE #683FBE
triadic
#3F56BE #BE3F56 #56BE3F
tetradic
#3F56BE #BE3F96 #BEA73F #3FBE68
square
#3F56BE #BE3F96 #BEA73F #3FBE68
split-complementary
#3F56BE #BE683F #96BE3F
monochromatic
#212C62 #304190 #3F56BE #6C7ECE #9AA6DD

Accessibility & contrast

On white

6.39
#3F56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3F56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56BE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56BE#FFFFFF#000000##FFFFFF
##3F56BE1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f56be;
/* rgb */ color: rgb(63, 86, 190);
/* oklch */ color: oklch(49.5% 0.165 270.0);
Tailwind
colors: {
  custom: {
    50: '#8285d2',
    500: '#3f56be',
    950: '#000000',
  },
}
SCSS
$custom: #3f56be;
$custom-light: #8285d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56be",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 229.134,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49496,
    "c": 0.165,
    "h": 270
  },
  "luminance": 0.1143
}

Semantic roles & 50–950 ramp

primary
#3F56BE
secondary
#C9BF8F
accent
#C04EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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