#3F56C3#3F56C3

#3F56C3 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.9% C 0.172 H 270.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#3F56C3
RGBrgb(63, 86, 195)
HSLhsl(230, 52%, 51%)
HSVhsv(230, 68%, 76%)
CMYKcmyk(67.7%, 55.9%, 0%, 23.5%)
CIE-LABlab(40.66, 27.34, -59.71)
CIE-LCHlch(40.66, 65.67, 294.60°)
OKLaboklab(49.88% 0.0001 -0.1718)
OKLCHoklch(49.88% 0.172 270)
XYZxyz(15.2247, 11.6510, 53.0657)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56C3 #C3AC3F
analogous
#3F98C3 #3F56C3 #6A3FC3
triadic
#3F56C3 #C33F56 #56C33F
tetradic
#3F56C3 #C33F98 #C3AC3F #3FC36A
square
#3F56C3 #C33F98 #C3AC3F #3FC36A
split-complementary
#3F56C3 #C36A3F #98C33F
monochromatic
#202D67 #2F4196 #3F56C3 #6E7FD2 #9CA8E0

Accessibility & contrast

On white

6.31
#3F56C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3F56C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56C3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56C3#FFFFFF#000000##FFFFFF
##3F56C31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f56c3;
/* rgb */ color: rgb(63, 86, 195);
/* oklch */ color: oklch(49.9% 0.172 270.0);
Tailwind
colors: {
  custom: {
    50: '#8385d6',
    500: '#3f56c3',
    950: '#000000',
  },
}
SCSS
$custom: #3f56c3;
$custom-light: #8385d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56c3",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 195
  },
  "hsl": {
    "h": 229.545,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49883,
    "c": 0.17183,
    "h": 270
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#3F56C3
secondary
#CCC292
accent
#C34CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F56C3

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

Preview Lab → · Contrast checker → · Palette generator →

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