#3E39D9#3E39D9

#3E39D9 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.0% C 0.233 H 274.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3E39D9
RGBrgb(62, 57, 217)
HSLhsl(242, 68%, 54%)
HSVhsv(242, 74%, 85%)
CMYKcmyk(71.4%, 73.7%, 0%, 14.9%)
CIE-LABlab(35.90, 52.18, -80.21)
CIE-LCHlch(35.90, 95.69, 303.04°)
OKLaboklab(46.98% 0.0167 -0.232)
OKLCHoklch(46.98% 0.233 274.1)
XYZxyz(15.9700, 8.9586, 66.5197)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39D9 #D4D939
analogous
#3984D9 #3E39D9 #8E39D9
triadic
#3E39D9 #D93E39 #39D93E
tetradic
#3E39D9 #D93984 #D4D939 #39D98E
square
#3E39D9 #D93984 #D4D939 #39D98E
split-complementary
#3E39D9 #D98E39 #84D939
monochromatic
#1C187F #2722B3 #3E39D9 #706CE3 #A2A0ED

Accessibility & contrast

On white

7.52
#3E39D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3E39D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39D9
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39D9#FFFFFF#000000##FFFFFF
##3E39D91.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDE
Deuteranopia (green-blind)
#004DD6
Tritanopia (blue-blind)
#006786
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e39d9;
/* rgb */ color: rgb(62, 57, 217);
/* oklch */ color: oklch(47.0% 0.233 274.1);
Tailwind
colors: {
  custom: {
    50: '#8a72e6',
    500: '#3e39d9',
    950: '#000000',
  },
}
SCSS
$custom: #3e39d9;
$custom-light: #8a72e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39d9",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 241.875,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.4698,
    "c": 0.23262,
    "h": 274.1
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#3E39D9
secondary
#D7D995
accent
#EB3DE5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3E39D9

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

Preview Lab → · Contrast checker → · Palette generator →

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