#3F51CE#3F51CE

#3F51CE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.193 H 271.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3F51CE
RGBrgb(63, 81, 206)
HSLhsl(232, 59%, 53%)
HSVhsv(232, 69%, 81%)
CMYKcmyk(69.4%, 60.7%, 0%, 19.2%)
CIE-LABlab(40.24, 34.40, -66.76)
CIE-LCHlch(40.24, 75.10, 297.26°)
OKLaboklab(49.84% 0.0042 -0.1926)
OKLCHoklch(49.84% 0.193 271.3)
XYZxyz(16.1291, 11.3963, 59.7302)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F51CE #CEBC3F
analogous
#3F98CE #3F51CE #753FCE
triadic
#3F51CE #CE3F51 #51CE3F
tetradic
#3F51CE #CE3F98 #CEBC3F #3FCE75
square
#3F51CE #CE3F98 #CEBC3F #3FCE75
split-complementary
#3F51CE #CE753F #98CE3F
monochromatic
#1E2975 #2A3AA6 #3F51CE #707DDA #A1A9E7

Accessibility & contrast

On white

6.40
#3F51CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3F51CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F51CE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F51CE#FFFFFF#000000##FFFFFF
##3F51CE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f51ce;
/* rgb */ color: rgb(63, 81, 206);
/* oklch */ color: oklch(49.8% 0.193 271.3);
Tailwind
colors: {
  custom: {
    50: '#8681de',
    500: '#3f51ce',
    950: '#000000',
  },
}
SCSS
$custom: #3f51ce;
$custom-light: #8681de;
$custom-dark: #000000;
JSON
{
  "hex": "#3f51ce",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 232.448,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.19265,
    "h": 271.3
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#3F51CE
secondary
#D3CC95
accent
#CF45E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #3F51CE

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

Preview Lab → · Contrast checker → · Palette generator →

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