#3F56CF#3F56CF

#3F56CF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.188 H 270.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#3F56CF
RGBrgb(63, 86, 207)
HSLhsl(230, 60%, 53%)
HSVhsv(230, 70%, 81%)
CMYKcmyk(69.6%, 58.5%, 0%, 18.8%)
CIE-LABlab(41.56, 31.60, -65.19)
CIE-LCHlch(41.56, 72.44, 295.86°)
OKLaboklab(50.84% 0.0004 -0.1879)
OKLCHoklch(50.84% 0.188 270.1)
XYZxyz(16.6363, 12.2157, 60.5005)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56CF #CFB83F
analogous
#3F9ECF #3F56CF #703FCF
triadic
#3F56CF #CF3F56 #56CF3F
tetradic
#3F56CF #CF3F9E #CFB83F #3FCF70
square
#3F56CF #CF3F9E #CFB83F #3FCF70
split-complementary
#3F56CF #CF703F #9ECF3F
monochromatic
#1E2C76 #2A3EA7 #3F56CF #7081DB #A1ACE7

Accessibility & contrast

On white

6.10
#3F56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3F56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56CF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56CF#FFFFFF#000000##FFFFFF
##3F56CF1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f56cf;
/* rgb */ color: rgb(63, 86, 207);
/* oklch */ color: oklch(50.8% 0.188 270.1);
Tailwind
colors: {
  custom: {
    50: '#8685df',
    500: '#3f56cf',
    950: '#000000',
  },
}
SCSS
$custom: #3f56cf;
$custom-light: #8685df;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56cf",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 230.417,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.18794,
    "h": 270.1
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#3F56CF
secondary
#D4CA96
accent
#CA45E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #3F56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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