#3E39D6#3E39D6

#3E39D6 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.7% C 0.229 H 274.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3E39D6
RGBrgb(62, 57, 214)
HSLhsl(242, 66%, 53%)
HSVhsv(242, 73%, 84%)
CMYKcmyk(71%, 73.4%, 0%, 16.1%)
CIE-LABlab(35.60, 51.23, -78.98)
CIE-LCHlch(35.60, 94.14, 302.97°)
OKLaboklab(46.68% 0.0172 -0.2284)
OKLCHoklch(46.68% 0.229 274.3)
XYZxyz(15.5833, 8.8039, 64.4834)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39D6 #D1D639
analogous
#3982D6 #3E39D6 #8C39D6
triadic
#3E39D6 #D63E39 #39D63E
tetradic
#3E39D6 #D63982 #D1D639 #39D68C
square
#3E39D6 #D63982 #D1D639 #39D68C
split-complementary
#3E39D6 #D68C39 #82D639
monochromatic
#1D197B #2824AE #3E39D6 #6F6CE0 #A19EEB

Accessibility & contrast

On white

7.61
#3E39D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3E39D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39D6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39D6#FFFFFF#000000##FFFFFF
##3E39D61.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDB
Deuteranopia (green-blind)
#004CD3
Tritanopia (blue-blind)
#006685
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e39d6;
/* rgb */ color: rgb(62, 57, 214);
/* oklch */ color: oklch(46.7% 0.229 274.3);
Tailwind
colors: {
  custom: {
    50: '#8972e4',
    500: '#3e39d6',
    950: '#000000',
  },
}
SCSS
$custom: #3e39d6;
$custom-light: #8972e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39d6",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 214
  },
  "hsl": {
    "h": 241.911,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.46678,
    "c": 0.22908,
    "h": 274.3
  },
  "luminance": 0.08805
}

Semantic roles & 50–950 ramp

primary
#3E39D6
secondary
#D5D794
accent
#E93FE3
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3E39D6

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

Preview Lab → · Contrast checker → · Palette generator →

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