#3F51C3#3F51C3

#3F51C3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.178 H 271.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3F51C3
RGBrgb(63, 81, 195)
HSLhsl(232, 52%, 51%)
HSVhsv(232, 68%, 76%)
CMYKcmyk(67.7%, 58.5%, 0%, 23.5%)
CIE-LABlab(39.38, 30.53, -61.78)
CIE-LCHlch(39.38, 68.92, 296.30°)
OKLaboklab(48.93% 0.0043 -0.178)
OKLCHoklch(48.93% 0.178 271.4)
XYZxyz(14.8393, 10.8804, 52.9373)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F51C3 #C3B13F
analogous
#3F93C3 #3F51C3 #6F3FC3
triadic
#3F51C3 #C33F51 #51C33F
tetradic
#3F51C3 #C33F93 #C3B13F #3FC36F
square
#3F51C3 #C33F93 #C3B13F #3FC36F
split-complementary
#3F51C3 #C36F3F #93C33F
monochromatic
#202A67 #2F3D96 #3F51C3 #6E7BD2 #9CA6E0

Accessibility & contrast

On white

6.61
#3F51C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3F51C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F51C3
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F51C3#FFFFFF#000000##FFFFFF
##3F51C31.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3f51c3;
/* rgb */ color: rgb(63, 81, 195);
/* oklch */ color: oklch(48.9% 0.178 271.4);
Tailwind
colors: {
  custom: {
    50: '#8481d6',
    500: '#3f51c3',
    950: '#000000',
  },
}
SCSS
$custom: #3f51c3;
$custom-light: #8481d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f51c3",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 231.818,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.17805,
    "h": 271.4
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#3F51C3
secondary
#CCC492
accent
#C84CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F51C3

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

Preview Lab → · Contrast checker → · Palette generator →

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