#3F50B7#3F50B7

#3F50B7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.163 H 271.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3F50B7
RGBrgb(63, 80, 183)
HSLhsl(232, 49%, 48%)
HSVhsv(232, 66%, 72%)
CMYKcmyk(65.6%, 56.3%, 0%, 28.2%)
CIE-LABlab(38.22, 26.93, -56.64)
CIE-LCHlch(38.22, 62.72, 295.43°)
OKLaboklab(47.78% 0.0049 -0.1629)
OKLCHoklch(47.78% 0.163 271.7)
XYZxyz(13.4629, 10.2118, 46.0522)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F50B7 #B7A63F
analogous
#3F8CB7 #3F50B7 #6A3FB7
triadic
#3F50B7 #B73F50 #50B73F
tetradic
#3F50B7 #B73F8C #B7A63F #3FB76A
square
#3F50B7 #B73F8C #B7A63F #3FB76A
split-complementary
#3F50B7 #B76A3F #8CB73F
monochromatic
#20285C #2F3C89 #3F50B7 #6876CB #969FDB

Accessibility & contrast

On white

6.90
#3F50B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3F50B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F50B7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F50B7#FFFFFF#000000##FFFFFF
##3F50B71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f50b7;
/* rgb */ color: rgb(63, 80, 183);
/* oklch */ color: oklch(47.8% 0.163 271.7);
Tailwind
colors: {
  custom: {
    50: '#8180cd',
    500: '#3f50b7',
    950: '#000000',
  },
}
SCSS
$custom: #3f50b7;
$custom-light: #8180cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f50b7",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 231.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47781,
    "c": 0.16297,
    "h": 271.7
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#3F50B7
secondary
#C6BE8B
accent
#C54FD8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3F50B7

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

Preview Lab → · Contrast checker → · Palette generator →

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