#3F56BC#3F56BC

#3F56BC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.162 H 269.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3F56BC
RGBrgb(63, 86, 188)
HSLhsl(229, 50%, 49%)
HSVhsv(229, 66%, 74%)
CMYKcmyk(66.5%, 54.3%, 0%, 26.3%)
CIE-LABlab(40.15, 24.84, -56.45)
CIE-LCHlch(40.15, 61.67, 293.75°)
OKLaboklab(49.34% -0.0003 -0.1622)
OKLCHoklch(49.34% 0.162 269.9)
XYZxyz(14.4517, 11.3418, 48.9948)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56BC #BCA53F
analogous
#3F95BC #3F56BC #673FBC
triadic
#3F56BC #BC3F56 #56BC3F
tetradic
#3F56BC #BC3F95 #BCA53F #3FBC67
square
#3F56BC #BC3F95 #BCA53F #3FBC67
split-complementary
#3F56BC #BC673F #95BC3F
monochromatic
#202C60 #30418E #3F56BC #6B7DCD #99A5DD

Accessibility & contrast

On white

6.42
#3F56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3F56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56BC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56BC#FFFFFF#000000##FFFFFF
##3F56BC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0864C0
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f56bc;
/* rgb */ color: rgb(63, 86, 188);
/* oklch */ color: oklch(49.3% 0.162 269.9);
Tailwind
colors: {
  custom: {
    50: '#8285d1',
    500: '#3f56bc',
    950: '#000000',
  },
}
SCSS
$custom: #3f56bc;
$custom-light: #8285d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56bc",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 228.96,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49343,
    "c": 0.16224,
    "h": 269.9
  },
  "luminance": 0.11343
}

Semantic roles & 50–950 ramp

primary
#3F56BC
secondary
#C9BE8E
accent
#C04ED9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3F56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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