#3F50B3#3F50B3

#3F50B3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.157 H 271.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3F50B3
RGBrgb(63, 80, 179)
HSLhsl(231, 48%, 47%)
HSVhsv(231, 65%, 70%)
CMYKcmyk(64.8%, 55.3%, 0%, 29.8%)
CIE-LABlab(37.93, 25.51, -54.76)
CIE-LCHlch(37.93, 60.41, 294.98°)
OKLaboklab(47.47% 0.0047 -0.1574)
OKLCHoklch(47.47% 0.157 271.7)
XYZxyz(13.0525, 10.0476, 43.8906)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F50B3 #B3A23F
analogous
#3F8AB3 #3F50B3 #683FB3
triadic
#3F50B3 #B33F50 #50B33F
tetradic
#3F50B3 #B33F8A #B3A23F #3FB368
square
#3F50B3 #B33F8A #B3A23F #3FB368
split-complementary
#3F50B3 #B3683F #8AB33F
monochromatic
#1F2858 #2F3C86 #3F50B3 #6675C9 #939ED9

Accessibility & contrast

On white

6.98
#3F50B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3F50B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F50B3
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F50B3#FFFFFF#000000##FFFFFF
##3F50B31.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f50b3;
/* rgb */ color: rgb(63, 80, 179);
/* oklch */ color: oklch(47.5% 0.157 271.7);
Tailwind
colors: {
  custom: {
    50: '#8180ca',
    500: '#3f50b3',
    950: '#000000',
  },
}
SCSS
$custom: #3f50b3;
$custom-light: #8180ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f50b3",
  "rgb": {
    "r": 63,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 231.207,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47469,
    "c": 0.15743,
    "h": 271.7
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#3F50B3
secondary
#C4BC89
accent
#C450D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F50B3

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

Preview Lab → · Contrast checker → · Palette generator →

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