#3E39AB#3E39AB

#3E39AB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.176 H 277.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3E39AB
RGBrgb(62, 57, 171)
HSLhsl(243, 50%, 45%)
HSVhsv(243, 67%, 67%)
CMYKcmyk(63.7%, 66.7%, 0%, 32.9%)
CIE-LABlab(31.55, 37.18, -60.39)
CIE-LCHlch(31.55, 70.92, 301.62°)
OKLaboklab(42.55% 0.0239 -0.1741)
OKLCHoklch(42.55% 0.176 277.8)
XYZxyz(10.7980, 6.8898, 39.2810)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39AB #A6AB39
analogous
#396DAB #3E39AB #7739AB
triadic
#3E39AB #AB3E39 #39AB3E
tetradic
#3E39AB #AB396D #A6AB39 #39AB77
square
#3E39AB #AB396D #A6AB39 #39AB77
split-complementary
#3E39AB #AB7739 #6DAB39
monochromatic
#1D1A4F #2D2A7D #3E39AB #5E59C8 #8B87D7

Accessibility & contrast

On white

8.83
#3E39AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3E39AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39AB
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39AB#FFFFFF#000000##FFFFFF
##3E39AB1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e39ab;
/* rgb */ color: rgb(62, 57, 171);
/* oklch */ color: oklch(42.5% 0.176 277.8);
Tailwind
colors: {
  custom: {
    50: '#8070c5',
    500: '#3e39ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e39ab;
$custom-light: #8070c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39ab",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 242.632,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.17572,
    "h": 277.8
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#3E39AB
secondary
#BEC17F
accent
#DA4ED3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3E39AB

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

Preview Lab → · Contrast checker → · Palette generator →

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