#3F56CD#3F56CD

#3F56CD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.185 H 270.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#3F56CD
RGBrgb(63, 86, 205)
HSLhsl(230, 59%, 53%)
HSVhsv(230, 69%, 80%)
CMYKcmyk(69.3%, 58%, 0%, 19.6%)
CIE-LABlab(41.40, 30.89, -64.28)
CIE-LCHlch(41.40, 71.32, 295.67°)
OKLaboklab(50.68% 0.0004 -0.1853)
OKLCHoklch(50.68% 0.185 270.1)
XYZxyz(16.3934, 12.1185, 59.2209)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56CD #CDB63F
analogous
#3F9DCD #3F56CD #6F3FCD
triadic
#3F56CD #CD3F56 #56CD3F
tetradic
#3F56CD #CD3F9D #CDB63F #3FCD6F
square
#3F56CD #CD3F9D #CDB63F #3FCD6F
split-complementary
#3F56CD #CD6F3F #9DCD3F
monochromatic
#1E2C74 #2B3EA4 #3F56CD #7081DA #A0ABE6

Accessibility & contrast

On white

6.13
#3F56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3F56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56CD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56CD#FFFFFF#000000##FFFFFF
##3F56CD1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f56cd;
/* rgb */ color: rgb(63, 86, 205);
/* oklch */ color: oklch(50.7% 0.185 270.1);
Tailwind
colors: {
  custom: {
    50: '#8585dd',
    500: '#3f56cd',
    950: '#000000',
  },
}
SCSS
$custom: #3f56cd;
$custom-light: #8585dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56cd",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 230.282,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50677,
    "c": 0.18528,
    "h": 270.1
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#3F56CD
secondary
#D3C995
accent
#C946E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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