#3F51EE#3F51EE

#3F51EE is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.233 H 270.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3F51EE
RGBrgb(63, 81, 238)
HSLhsl(234, 84%, 59%)
HSVhsv(234, 74%, 93%)
CMYKcmyk(73.5%, 66%, 0%, 6.7%)
CIE-LABlab(42.93, 45.44, -80.60)
CIE-LCHlch(42.93, 92.52, 299.42°)
OKLaboklab(52.64% 0.0026 -0.2331)
OKLCHoklch(52.64% 0.233 270.6)
XYZxyz(20.4197, 13.1125, 82.3271)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F51EE #EEDC3F
analogous
#3FA8EE #3F51EE #853FEE
triadic
#3F51EE #EE3F51 #51EE3F
tetradic
#3F51EE #EE3FA8 #EEDC3F #3FEE85
square
#3F51EE #EE3FA8 #EEDC3F #3FEE85
split-complementary
#3F51EE #EE853F #A8EE3F
monochromatic
#0F1EA4 #1428DC #3F51EE #7784F3 #AFB7F8

Accessibility & contrast

On white

5.80
#3F51EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3F51EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F51EE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F51EE#FFFFFF#000000##FFFFFF
##3F51EE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF3
Deuteranopia (green-blind)
#005DEB
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f51ee;
/* rgb */ color: rgb(63, 81, 238);
/* oklch */ color: oklch(52.6% 0.233 270.6);
Tailwind
colors: {
  custom: {
    50: '#8d82f5',
    500: '#3f51ee',
    950: '#000000',
  },
}
SCSS
$custom: #3f51ee;
$custom-light: #8d82f5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f51ee",
  "rgb": {
    "r": 63,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 233.829,
    "s": 83.732,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.23315,
    "h": 270.6
  },
  "luminance": 0.13115
}

Semantic roles & 50–950 ramp

primary
#3F51EE
secondary
#E7E0A2
accent
#E52EFA
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #3F51EE

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

Preview Lab → · Contrast checker → · Palette generator →

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