#3E39AA#3E39AA

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

Color values

HEX#3E39AA
RGBrgb(62, 57, 170)
HSLhsl(243, 50%, 45%)
HSVhsv(243, 66%, 67%)
CMYKcmyk(63.5%, 66.5%, 0%, 33.3%)
CIE-LABlab(31.47, 36.85, -59.93)
CIE-LCHlch(31.47, 70.35, 301.59°)
OKLaboklab(42.46% 0.024 -0.1727)
OKLCHoklch(42.46% 0.174 277.9)
XYZxyz(10.7031, 6.8518, 38.7809)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39AA #A5AA39
analogous
#396DAA #3E39AA #7739AA
triadic
#3E39AA #AA3E39 #39AA3E
tetradic
#3E39AA #AA396D #A5AA39 #39AA77
square
#3E39AA #AA396D #A5AA39 #39AA77
split-complementary
#3E39AA #AA7739 #6DAA39
monochromatic
#1D1A4E #2D2A7C #3E39AA #5E59C7 #8A87D7

Accessibility & contrast

On white

8.86
#3E39AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3E39AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39AA
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39AA#FFFFFF#000000##FFFFFF
##3E39AA1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e39aa;
/* rgb */ color: rgb(62, 57, 170);
/* oklch */ color: oklch(42.5% 0.174 277.9);
Tailwind
colors: {
  custom: {
    50: '#8070c4',
    500: '#3e39aa',
    950: '#000000',
  },
}
SCSS
$custom: #3e39aa;
$custom-light: #8070c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39aa",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 242.655,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.17441,
    "h": 277.9
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#3E39AA
secondary
#BEC17E
accent
#D94ED3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3E39AA

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

Preview Lab → · Contrast checker → · Palette generator →

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