#3F56D2#3F56D2

#3F56D2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.192 H 270.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#3F56D2
RGBrgb(63, 86, 210)
HSLhsl(231, 62%, 54%)
HSVhsv(231, 70%, 82%)
CMYKcmyk(70%, 59%, 0%, 17.6%)
CIE-LABlab(41.79, 32.66, -66.54)
CIE-LCHlch(41.79, 74.12, 296.15°)
OKLaboklab(51.08% 0.0004 -0.1919)
OKLCHoklch(51.08% 0.192 270.1)
XYZxyz(17.0066, 12.3638, 62.4505)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56D2 #D2BB3F
analogous
#3F9FD2 #3F56D2 #713FD2
triadic
#3F56D2 #D23F56 #56D23F
tetradic
#3F56D2 #D23F9F #D2BB3F #3FD271
square
#3F56D2 #D23F9F #D2BB3F #3FD271
split-complementary
#3F56D2 #D2713F #9FD23F
monochromatic
#1D2B7A #283DAC #3F56D2 #7182DE #A2ADE9

Accessibility & contrast

On white

6.05
#3F56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3F56D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56D2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56D2#FFFFFF#000000##FFFFFF
##3F56D21.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f56d2;
/* rgb */ color: rgb(63, 86, 210);
/* oklch */ color: oklch(51.1% 0.192 270.1);
Tailwind
colors: {
  custom: {
    50: '#8685e1',
    500: '#3f56d2',
    950: '#000000',
  },
}
SCSS
$custom: #3f56d2;
$custom-light: #8685e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56d2",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 230.612,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.1919,
    "h": 270.1
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#3F56D2
secondary
#D6CC97
accent
#CC43E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #3F56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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