#3F51BD#3F51BD

#3F51BD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.170 H 271.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#3F51BD
RGBrgb(63, 81, 189)
HSLhsl(231, 50%, 49%)
HSVhsv(231, 67%, 74%)
CMYKcmyk(66.7%, 57.1%, 0%, 25.9%)
CIE-LABlab(38.92, 28.41, -59.02)
CIE-LCHlch(38.92, 65.51, 295.71°)
OKLaboklab(48.45% 0.0042 -0.1699)
OKLCHoklch(48.45% 0.17 271.4)
XYZxyz(14.1745, 10.6144, 49.4360)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F51BD #BDAB3F
analogous
#3F90BD #3F51BD #6C3FBD
triadic
#3F51BD #BD3F51 #51BD3F
tetradic
#3F51BD #BD3F90 #BDAB3F #3FBD6C
square
#3F51BD #BD3F90 #BDAB3F #3FBD6C
split-complementary
#3F51BD #BD6C3F #90BD3F
monochromatic
#202A61 #303D8F #3F51BD #6B79CE #99A3DD

Accessibility & contrast

On white

6.72
#3F51BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3F51BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F51BD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F51BD#FFFFFF#000000##FFFFFF
##3F51BD1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f51bd;
/* rgb */ color: rgb(63, 81, 189);
/* oklch */ color: oklch(48.4% 0.170 271.4);
Tailwind
colors: {
  custom: {
    50: '#8281d2',
    500: '#3f51bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f51bd;
$custom-light: #8281d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f51bd",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 231.429,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48447,
    "c": 0.16993,
    "h": 271.4
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#3F51BD
secondary
#C9C18F
accent
#C64EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F51BD

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

Preview Lab → · Contrast checker → · Palette generator →

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