#3F56AD#3F56AD

#3F56AD is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.141 H 269.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#3F56AD
RGBrgb(63, 86, 173)
HSLhsl(227, 47%, 46%)
HSVhsv(227, 64%, 68%)
CMYKcmyk(63.6%, 50.3%, 0%, 32.2%)
CIE-LABlab(39.12, 19.49, -49.29)
CIE-LCHlch(39.12, 53.01, 291.57°)
OKLaboklab(48.24% -0.0015 -0.1412)
OKLCHoklch(48.24% 0.141 269.4)
XYZxyz(12.9180, 10.7283, 40.9171)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56AD #AD963F
analogous
#3F8DAD #3F56AD #5F3FAD
triadic
#3F56AD #AD3F56 #56AD3F
tetradic
#3F56AD #AD3F8D #AD963F #3FAD5F
square
#3F56AD #AD3F8D #AD963F #3FAD5F
split-complementary
#3F56AD #AD5F3F #8DAD3F
monochromatic
#1E2953 #2F4080 #3F56AD #6378C6 #909FD7

Accessibility & contrast

On white

6.68
#3F56AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3F56AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56AD
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56AD#FFFFFF#000000##FFFFFF
##3F56AD1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761B0
Deuteranopia (green-blind)
#0A57AB
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f56ad;
/* rgb */ color: rgb(63, 86, 173);
/* oklch */ color: oklch(48.2% 0.141 269.4);
Tailwind
colors: {
  custom: {
    50: '#7f85c6',
    500: '#3f56ad',
    950: '#000000',
  },
}
SCSS
$custom: #3f56ad;
$custom-light: #7f85c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56ad",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 173
  },
  "hsl": {
    "h": 227.455,
    "s": 46.61,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48236,
    "c": 0.1412,
    "h": 269.4
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#3F56AD
secondary
#C2B586
accent
#BB52D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F56AD

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

Preview Lab → · Contrast checker → · Palette generator →

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