#3F56BD#3F56BD

#3F56BD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.164 H 269.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3F56BD
RGBrgb(63, 86, 189)
HSLhsl(229, 50%, 49%)
HSVhsv(229, 67%, 74%)
CMYKcmyk(66.7%, 54.5%, 0%, 25.9%)
CIE-LABlab(40.22, 25.20, -56.92)
CIE-LCHlch(40.22, 62.25, 293.88°)
OKLaboklab(49.42% -0.0002 -0.1636)
OKLCHoklch(49.42% 0.164 269.9)
XYZxyz(14.5599, 11.3851, 49.5645)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56BD #BDA63F
analogous
#3F95BD #3F56BD #673FBD
triadic
#3F56BD #BD3F56 #56BD3F
tetradic
#3F56BD #BD3F95 #BDA63F #3FBD67
square
#3F56BD #BD3F95 #BDA63F #3FBD67
split-complementary
#3F56BD #BD673F #95BD3F
monochromatic
#202C61 #30418F #3F56BD #6B7DCE #99A6DD

Accessibility & contrast

On white

6.41
#3F56BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3F56BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56BD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56BD#FFFFFF#000000##FFFFFF
##3F56BD1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0465C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f56bd;
/* rgb */ color: rgb(63, 86, 189);
/* oklch */ color: oklch(49.4% 0.164 269.9);
Tailwind
colors: {
  custom: {
    50: '#8285d2',
    500: '#3f56bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f56bd;
$custom-light: #8285d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56bd",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 229.048,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.16362,
    "h": 269.9
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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