#3F51D9#3F51D9

#3F51D9 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 50.8% C 0.207 H 271.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3F51D9
RGBrgb(63, 81, 217)
HSLhsl(233, 67%, 55%)
HSVhsv(233, 71%, 85%)
CMYKcmyk(71%, 62.7%, 0%, 14.9%)
CIE-LABlab(41.14, 38.24, -71.62)
CIE-LCHlch(41.14, 81.19, 298.10°)
OKLaboklab(50.78% 0.0039 -0.2068)
OKLCHoklch(50.78% 0.207 271.1)
XYZxyz(17.5125, 11.9496, 67.0158)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F51D9 #D9C73F
analogous
#3F9ED9 #3F51D9 #7A3FD9
triadic
#3F51D9 #D93F51 #51D93F
tetradic
#3F51D9 #D93F9E #D9C73F #3FD97A
square
#3F51D9 #D93F9E #D9C73F #3FD97A
split-complementary
#3F51D9 #D97A3F #9ED93F
monochromatic
#1A2684 #2435B7 #3F51D9 #727FE3 #A5AEED

Accessibility & contrast

On white

6.19
#3F51D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3F51D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F51D9
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F51D9#FFFFFF#000000##FFFFFF
##3F51D91.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f51d9;
/* rgb */ color: rgb(63, 81, 217);
/* oklch */ color: oklch(50.8% 0.207 271.1);
Tailwind
colors: {
  custom: {
    50: '#8882e6',
    500: '#3f51d9',
    950: '#000000',
  },
}
SCSS
$custom: #3f51d9;
$custom-light: #8882e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f51d9",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 232.987,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.20689,
    "h": 271.1
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#3F51D9
secondary
#DAD39A
accent
#D63EEA
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3F51D9

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

Preview Lab → · Contrast checker → · Palette generator →

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