#3F51E2#3F51E2

#3F51E2 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.6% C 0.218 H 270.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#3F51E2
RGBrgb(63, 81, 226)
HSLhsl(233, 74%, 57%)
HSVhsv(233, 72%, 89%)
CMYKcmyk(72.1%, 64.2%, 0%, 11.4%)
CIE-LABlab(41.89, 41.35, -75.51)
CIE-LCHlch(41.89, 86.09, 298.70°)
OKLaboklab(51.56% 0.0034 -0.2183)
OKLCHoklch(51.56% 0.218 270.9)
XYZxyz(18.7151, 12.4307, 73.3498)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F51E2 #E2D03F
analogous
#3FA3E2 #3F51E2 #7F3FE2
triadic
#3F51E2 #E23F51 #51E23F
tetradic
#3F51E2 #E23FA3 #E2D03F #3FE27F
square
#3F51E2 #E23FA3 #E2D03F #3FE27F
split-complementary
#3F51E2 #E27F3F #A3E23F
monochromatic
#162391 #1E30C6 #3F51E2 #7481EA #A9B1F2

Accessibility & contrast

On white

6.02
#3F51E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3F51E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F51E2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F51E2#FFFFFF#000000##FFFFFF
##3F51E21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005BDF
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f51e2;
/* rgb */ color: rgb(63, 81, 226);
/* oklch */ color: oklch(51.6% 0.218 270.9);
Tailwind
colors: {
  custom: {
    50: '#8a82ec',
    500: '#3f51e2',
    950: '#000000',
  },
}
SCSS
$custom: #3f51e2;
$custom-light: #8a82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f51e2",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 233.374,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51564,
    "c": 0.21829,
    "h": 270.9
  },
  "luminance": 0.12433
}

Semantic roles & 50–950 ramp

primary
#3F51E2
secondary
#E0D89D
accent
#DC37F0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #3F51E2

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

Preview Lab → · Contrast checker → · Palette generator →

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