#3E39D4#3E39D4

#3E39D4 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.5% C 0.227 H 274.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3E39D4
RGBrgb(62, 57, 212)
HSLhsl(242, 64%, 53%)
HSVhsv(242, 73%, 83%)
CMYKcmyk(70.8%, 73.1%, 0%, 16.9%)
CIE-LABlab(35.40, 50.59, -78.16)
CIE-LCHlch(35.40, 93.10, 302.92°)
OKLaboklab(46.48% 0.0176 -0.226)
OKLCHoklch(46.48% 0.227 274.5)
XYZxyz(15.3295, 8.7024, 63.1464)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39D4 #CFD439
analogous
#3982D4 #3E39D4 #8B39D4
triadic
#3E39D4 #D43E39 #39D43E
tetradic
#3E39D4 #D43982 #CFD439 #39D48B
square
#3E39D4 #D43982 #CFD439 #39D48B
split-complementary
#3E39D4 #D48B39 #82D439
monochromatic
#1D1A78 #2925AB #3E39D4 #6F6BDF #A09EEA

Accessibility & contrast

On white

7.66
#3E39D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3E39D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39D4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39D4#FFFFFF#000000##FFFFFF
##3E39D41.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD9
Deuteranopia (green-blind)
#004CD1
Tritanopia (blue-blind)
#006583
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e39d4;
/* rgb */ color: rgb(62, 57, 212);
/* oklch */ color: oklch(46.5% 0.227 274.5);
Tailwind
colors: {
  custom: {
    50: '#8971e3',
    500: '#3e39d4',
    950: '#000000',
  },
}
SCSS
$custom: #3e39d4;
$custom-light: #8971e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39d4",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 212
  },
  "hsl": {
    "h": 241.935,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.46477,
    "c": 0.2267,
    "h": 274.5
  },
  "luminance": 0.08704
}

Semantic roles & 50–950 ramp

primary
#3E39D4
secondary
#D4D693
accent
#E740E2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3E39D4

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

Preview Lab → · Contrast checker → · Palette generator →

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