#3F50C1#3F50C1

#3F50C1 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.6% C 0.177 H 271.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3F50C1
RGBrgb(63, 80, 193)
HSLhsl(232, 51%, 50%)
HSVhsv(232, 67%, 76%)
CMYKcmyk(67.4%, 58.5%, 0%, 24.3%)
CIE-LABlab(38.97, 30.47, -61.28)
CIE-LCHlch(38.97, 68.43, 296.44°)
OKLaboklab(48.58% 0.0051 -0.1765)
OKLCHoklch(48.58% 0.177 271.7)
XYZxyz(14.5410, 10.6430, 51.7297)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F50C1 #C1B03F
analogous
#3F91C1 #3F50C1 #6F3FC1
triadic
#3F50C1 #C13F50 #50C13F
tetradic
#3F50C1 #C13F91 #C1B03F #3FC16F
square
#3F50C1 #C13F91 #C1B03F #3FC16F
split-complementary
#3F50C1 #C16F3F #91C13F
monochromatic
#212A65 #303D93 #3F50C1 #6D7AD0 #9CA4DF

Accessibility & contrast

On white

6.71
#3F50C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3F50C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F50C1
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F50C1#FFFFFF#000000##FFFFFF
##3F50C11.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f50c1;
/* rgb */ color: rgb(63, 80, 193);
/* oklch */ color: oklch(48.6% 0.177 271.7);
Tailwind
colors: {
  custom: {
    50: '#8381d5',
    500: '#3f50c1',
    950: '#000000',
  },
}
SCSS
$custom: #3f50c1;
$custom-light: #8381d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f50c1",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 193
  },
  "hsl": {
    "h": 232.154,
    "s": 51.181,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48579,
    "c": 0.17659,
    "h": 271.7
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#3F50C1
secondary
#CBC391
accent
#C84DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F50C1

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

Preview Lab → · Contrast checker → · Palette generator →

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