#3F56D9#3F56D9

#3F56D9 is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 51.7% C 0.201 H 270.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3F56D9
RGBrgb(63, 86, 217)
HSLhsl(231, 67%, 55%)
HSVhsv(231, 71%, 85%)
CMYKcmyk(71%, 60.4%, 0%, 14.9%)
CIE-LABlab(42.34, 35.13, -69.65)
CIE-LCHlch(42.34, 78.01, 296.76°)
OKLaboklab(51.66% 0.0004 -0.201)
OKLCHoklch(51.66% 0.201 270.1)
XYZxyz(17.8978, 12.7203, 67.1442)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56D9 #D9C23F
analogous
#3FA3D9 #3F56D9 #753FD9
triadic
#3F56D9 #D93F56 #56D93F
tetradic
#3F56D9 #D93FA3 #D9C23F #3FD975
square
#3F56D9 #D93FA3 #D9C23F #3FD975
split-complementary
#3F56D9 #D9753F #A3D93F
monochromatic
#1A2A84 #243AB7 #3F56D9 #7283E3 #A5B0ED

Accessibility & contrast

On white

5.92
#3F56D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3F56D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56D9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56D9#FFFFFF#000000##FFFFFF
##3F56D91.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f56d9;
/* rgb */ color: rgb(63, 86, 217);
/* oklch */ color: oklch(51.7% 0.201 270.1);
Tailwind
colors: {
  custom: {
    50: '#8885e6',
    500: '#3f56d9',
    950: '#000000',
  },
}
SCSS
$custom: #3f56d9;
$custom-light: #8885e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56d9",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 231.039,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51664,
    "c": 0.20104,
    "h": 270.1
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

primary
#3F56D9
secondary
#DAD19A
accent
#D03EEA
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3F56D9

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

Preview Lab → · Contrast checker → · Palette generator →

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