#3E39C4#3E39C4

#3E39C4 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.207 H 275.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3E39C4
RGBrgb(62, 57, 196)
HSLhsl(242, 55%, 50%)
HSVhsv(242, 71%, 77%)
CMYKcmyk(68.4%, 70.9%, 0%, 23.1%)
CIE-LABlab(33.85, 45.44, -71.42)
CIE-LCHlch(33.85, 84.65, 302.47°)
OKLaboklab(44.9% 0.0204 -0.2064)
OKLCHoklch(44.9% 0.207 275.6)
XYZxyz(13.4103, 7.9347, 53.0387)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39C4 #BFC439
analogous
#397AC4 #3E39C4 #8339C4
triadic
#3E39C4 #C43E39 #39C43E
tetradic
#3E39C4 #C4397A #BFC439 #39C483
square
#3E39C4 #C4397A #BFC439 #39C483
split-complementary
#3E39C4 #C48339 #7AC439
monochromatic
#201D65 #2F2B95 #3E39C4 #6B67D3 #9997E1

Accessibility & contrast

On white

8.12
#3E39C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3E39C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39C4
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39C4#FFFFFF#000000##FFFFFF
##3E39C41.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#0049C1
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e39c4;
/* rgb */ color: rgb(62, 57, 196);
/* oklch */ color: oklch(44.9% 0.207 275.6);
Tailwind
colors: {
  custom: {
    50: '#8571d7',
    500: '#3e39c4',
    950: '#000000',
  },
}
SCSS
$custom: #3e39c4;
$custom-light: #8571d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39c4",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 242.158,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44898,
    "c": 0.20738,
    "h": 275.6
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#3E39C4
secondary
#CACC8D
accent
#DE4AD9
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3E39C4

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

Preview Lab → · Contrast checker → · Palette generator →

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