#3F50C6#3F50C6

#3F50C6 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.183 H 271.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3F50C6
RGBrgb(63, 80, 198)
HSLhsl(232, 54%, 51%)
HSVhsv(232, 68%, 78%)
CMYKcmyk(68.2%, 59.6%, 0%, 22.4%)
CIE-LABlab(39.36, 32.23, -63.56)
CIE-LCHlch(39.36, 71.26, 296.89°)
OKLaboklab(48.99% 0.0051 -0.1832)
OKLCHoklch(48.99% 0.183 271.6)
XYZxyz(15.1082, 10.8699, 54.7170)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F50C6 #C6B53F
analogous
#3F94C6 #3F50C6 #713FC6
triadic
#3F50C6 #C63F50 #50C63F
tetradic
#3F50C6 #C63F94 #C6B53F #3FC671
square
#3F50C6 #C63F94 #C6B53F #3FC671
split-complementary
#3F50C6 #C6713F #94C63F
monochromatic
#20296B #2E3B9A #3F50C6 #6E7BD4 #9DA6E2

Accessibility & contrast

On white

6.62
#3F50C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3F50C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F50C6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F50C6#FFFFFF#000000##FFFFFF
##3F50C61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f50c6;
/* rgb */ color: rgb(63, 80, 198);
/* oklch */ color: oklch(49.0% 0.183 271.6);
Tailwind
colors: {
  custom: {
    50: '#8481d8',
    500: '#3f50c6',
    950: '#000000',
  },
}
SCSS
$custom: #3f50c6;
$custom-light: #8481d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f50c6",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 198
  },
  "hsl": {
    "h": 232.444,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48988,
    "c": 0.18329,
    "h": 271.6
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#3F50C6
secondary
#CEC793
accent
#CB4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3F50C6

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

Preview Lab → · Contrast checker → · Palette generator →

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