#3F50C5#3F50C5

#3F50C5 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.182 H 271.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3F50C5
RGBrgb(63, 80, 197)
HSLhsl(232, 54%, 51%)
HSVhsv(232, 68%, 77%)
CMYKcmyk(68%, 59.4%, 0%, 22.7%)
CIE-LABlab(39.28, 31.87, -63.10)
CIE-LCHlch(39.28, 70.70, 296.80°)
OKLaboklab(48.91% 0.0051 -0.1819)
OKLCHoklch(48.91% 0.182 271.6)
XYZxyz(14.9932, 10.8239, 54.1116)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F50C5 #C5B43F
analogous
#3F93C5 #3F50C5 #713FC5
triadic
#3F50C5 #C53F50 #50C53F
tetradic
#3F50C5 #C53F93 #C5B43F #3FC571
square
#3F50C5 #C53F93 #C5B43F #3FC571
split-complementary
#3F50C5 #C5713F #93C53F
monochromatic
#20296A #2E3C99 #3F50C5 #6E7BD3 #9DA6E1

Accessibility & contrast

On white

6.64
#3F50C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F50C5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F50C5#FFFFFF#000000##FFFFFF
##3F50C51.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f50c5;
/* rgb */ color: rgb(63, 80, 197);
/* oklch */ color: oklch(48.9% 0.182 271.6);
Tailwind
colors: {
  custom: {
    50: '#8481d7',
    500: '#3f50c5',
    950: '#000000',
  },
}
SCSS
$custom: #3f50c5;
$custom-light: #8481d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f50c5",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 197
  },
  "hsl": {
    "h": 232.388,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48906,
    "c": 0.18196,
    "h": 271.6
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#3F50C5
secondary
#CEC692
accent
#CA4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3F50C5

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

Preview Lab → · Contrast checker → · Palette generator →

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