#3F56C4#3F56C4

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

Color values

HEX#3F56C4
RGBrgb(63, 86, 196)
HSLhsl(230, 53%, 51%)
HSVhsv(230, 68%, 77%)
CMYKcmyk(67.9%, 56.1%, 0%, 23.1%)
CIE-LABlab(40.73, 27.69, -60.17)
CIE-LCHlch(40.73, 66.24, 294.71°)
OKLaboklab(49.96% 0.0001 -0.1732)
OKLCHoklch(49.96% 0.173 270)
XYZxyz(15.3381, 11.6964, 53.6632)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56C4 #C4AD3F
analogous
#3F98C4 #3F56C4 #6A3FC4
triadic
#3F56C4 #C43F56 #56C43F
tetradic
#3F56C4 #C43F98 #C4AD3F #3FC46A
square
#3F56C4 #C43F98 #C4AD3F #3FC46A
split-complementary
#3F56C4 #C46A3F #98C43F
monochromatic
#202D68 #2E4197 #3F56C4 #6E7FD2 #9DA8E1

Accessibility & contrast

On white

6.29
#3F56C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3F56C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56C4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56C4#FFFFFF#000000##FFFFFF
##3F56C41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f56c4;
/* rgb */ color: rgb(63, 86, 196);
/* oklch */ color: oklch(50.0% 0.173 270.0);
Tailwind
colors: {
  custom: {
    50: '#8485d7',
    500: '#3f56c4',
    950: '#000000',
  },
}
SCSS
$custom: #3f56c4;
$custom-light: #8485d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56c4",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 196
  },
  "hsl": {
    "h": 229.624,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49961,
    "c": 0.17319,
    "h": 270
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#3F56C4
secondary
#CDC392
accent
#C34BDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F56C4

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

Preview Lab → · Contrast checker → · Palette generator →

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