#3E39C5#3E39C5

#3E39C5 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.209 H 275.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3E39C5
RGBrgb(62, 57, 197)
HSLhsl(242, 55%, 50%)
HSVhsv(242, 71%, 77%)
CMYKcmyk(68.5%, 71.1%, 0%, 22.7%)
CIE-LABlab(33.94, 45.77, -71.85)
CIE-LCHlch(33.94, 85.19, 302.50°)
OKLaboklab(45% 0.0202 -0.2076)
OKLCHoklch(45% 0.209 275.6)
XYZxyz(13.5245, 7.9804, 53.6401)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39C5 #C0C539
analogous
#397AC5 #3E39C5 #8439C5
triadic
#3E39C5 #C53E39 #39C53E
tetradic
#3E39C5 #C5397A #C0C539 #39C584
square
#3E39C5 #C5397A #C0C539 #39C584
split-complementary
#3E39C5 #C58439 #7AC539
monochromatic
#201E66 #2F2B96 #3E39C5 #6C68D3 #9A97E1

Accessibility & contrast

On white

8.09
#3E39C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3E39C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39C5
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39C5#FFFFFF#000000##FFFFFF
##3E39C51.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e39c5;
/* rgb */ color: rgb(62, 57, 197);
/* oklch */ color: oklch(45.0% 0.209 275.6);
Tailwind
colors: {
  custom: {
    50: '#8671d8',
    500: '#3e39c5',
    950: '#000000',
  },
}
SCSS
$custom: #3e39c5;
$custom-light: #8671d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39c5",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 242.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44995,
    "c": 0.20861,
    "h": 275.6
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#3E39C5
secondary
#CACD8D
accent
#DE49D9
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3E39C5

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

Preview Lab → · Contrast checker → · Palette generator →

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