#3F51D2#3F51D2

#3F51D2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.198 H 271.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#3F51D2
RGBrgb(63, 81, 210)
HSLhsl(233, 62%, 54%)
HSVhsv(233, 70%, 82%)
CMYKcmyk(70%, 61.4%, 0%, 17.6%)
CIE-LABlab(40.56, 35.80, -68.54)
CIE-LCHlch(40.56, 77.32, 297.58°)
OKLaboklab(50.18% 0.0041 -0.1978)
OKLCHoklch(50.18% 0.198 271.2)
XYZxyz(16.6212, 11.5931, 62.3220)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F51D2 #D2C03F
analogous
#3F9AD2 #3F51D2 #763FD2
triadic
#3F51D2 #D23F51 #51D23F
tetradic
#3F51D2 #D23F9A #D2C03F #3FD276
square
#3F51D2 #D23F9A #D2C03F #3FD276
split-complementary
#3F51D2 #D2763F #9AD23F
monochromatic
#1D287A #2838AC #3F51D2 #717EDE #A2ABE9

Accessibility & contrast

On white

6.33
#3F51D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3F51D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F51D2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F51D2#FFFFFF#000000##FFFFFF
##3F51D21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0059D0
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f51d2;
/* rgb */ color: rgb(63, 81, 210);
/* oklch */ color: oklch(50.2% 0.198 271.2);
Tailwind
colors: {
  custom: {
    50: '#8781e1',
    500: '#3f51d2',
    950: '#000000',
  },
}
SCSS
$custom: #3f51d2;
$custom-light: #8781e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f51d2",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 232.653,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.19786,
    "h": 271.2
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#3F51D2
secondary
#D6CE97
accent
#D143E5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #3F51D2

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

Preview Lab → · Contrast checker → · Palette generator →

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