#3E39AC#3E39AC

#3E39AC is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.177 H 277.7°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3E39AC
RGBrgb(62, 57, 172)
HSLhsl(243, 50%, 45%)
HSVhsv(243, 67%, 67%)
CMYKcmyk(64%, 66.9%, 0%, 32.5%)
CIE-LABlab(31.64, 37.52, -60.84)
CIE-LCHlch(31.64, 71.48, 301.66°)
OKLaboklab(42.64% 0.0238 -0.1754)
OKLCHoklch(42.64% 0.177 277.7)
XYZxyz(10.8937, 6.9281, 39.7849)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39AC #A7AC39
analogous
#396DAC #3E39AC #7839AC
triadic
#3E39AC #AC3E39 #39AC3E
tetradic
#3E39AC #AC396D #A7AC39 #39AC78
square
#3E39AC #AC396D #A7AC39 #39AC78
split-complementary
#3E39AC #AC7839 #6DAC39
monochromatic
#1D1B50 #2D2A7E #3E39AC #5F5AC8 #8B88D8

Accessibility & contrast

On white

8.80
#3E39AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3E39AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39AC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39AC#FFFFFF#000000##FFFFFF
##3E39AC1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e39ac;
/* rgb */ color: rgb(62, 57, 172);
/* oklch */ color: oklch(42.6% 0.177 277.7);
Tailwind
colors: {
  custom: {
    50: '#8070c6',
    500: '#3e39ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e39ac;
$custom-light: #8070c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39ac",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 242.609,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.17702,
    "h": 277.7
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#3E39AC
secondary
#BFC27F
accent
#DA4ED4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3E39AC

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

Preview Lab → · Contrast checker → · Palette generator →

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