#3E39D1#3E39D1

#3E39D1 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.2% C 0.223 H 274.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3E39D1
RGBrgb(62, 57, 209)
HSLhsl(242, 62%, 52%)
HSVhsv(242, 73%, 82%)
CMYKcmyk(70.3%, 72.7%, 0%, 18%)
CIE-LABlab(35.11, 49.64, -76.91)
CIE-LCHlch(35.11, 91.54, 302.84°)
OKLaboklab(46.18% 0.0182 -0.2224)
OKLCHoklch(46.18% 0.223 274.7)
XYZxyz(14.9545, 8.5524, 61.1719)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39D1 #CCD139
analogous
#3980D1 #3E39D1 #8A39D1
triadic
#3E39D1 #D13E39 #39D13E
tetradic
#3E39D1 #D13980 #CCD139 #39D18A
square
#3E39D1 #D13980 #CCD139 #39D18A
split-complementary
#3E39D1 #D18A39 #80D139
monochromatic
#1E1B75 #2B27A6 #3E39D1 #6E6BDD #9F9CE8

Accessibility & contrast

On white

7.75
#3E39D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3E39D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39D1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39D1#FFFFFF#000000##FFFFFF
##3E39D11.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D5
Deuteranopia (green-blind)
#004BCE
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e39d1;
/* rgb */ color: rgb(62, 57, 209);
/* oklch */ color: oklch(46.2% 0.223 274.7);
Tailwind
colors: {
  custom: {
    50: '#8871e0',
    500: '#3e39d1',
    950: '#000000',
  },
}
SCSS
$custom: #3e39d1;
$custom-light: #8871e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39d1",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 241.974,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.46177,
    "c": 0.22314,
    "h": 274.7
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#3E39D1
secondary
#D2D492
accent
#E542E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E39D1

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

Preview Lab → · Contrast checker → · Palette generator →

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