#3E39B5#3E39B5

#3E39B5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.189 H 276.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#3E39B5
RGBrgb(62, 57, 181)
HSLhsl(242, 52%, 47%)
HSVhsv(242, 69%, 71%)
CMYKcmyk(65.7%, 68.5%, 0%, 29%)
CIE-LABlab(32.45, 40.51, -64.88)
CIE-LCHlch(32.45, 76.49, 301.98°)
OKLaboklab(43.47% 0.0226 -0.1873)
OKLCHoklch(43.47% 0.189 276.9)
XYZxyz(11.7875, 7.2856, 44.4922)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39B5 #B0B539
analogous
#3972B5 #3E39B5 #7C39B5
triadic
#3E39B5 #B53E39 #39B53E
tetradic
#3E39B5 #B53972 #B0B539 #39B57C
square
#3E39B5 #B53972 #B0B539 #39B57C
split-complementary
#3E39B5 #B57C39 #72B539
monochromatic
#1E1C58 #2E2A86 #3E39B5 #635FCD #908DDB

Accessibility & contrast

On white

8.55
#3E39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3E39B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39B5
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39B5#FFFFFF#000000##FFFFFF
##3E39B51.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e39b5;
/* rgb */ color: rgb(62, 57, 181);
/* oklch */ color: oklch(43.5% 0.189 276.9);
Tailwind
colors: {
  custom: {
    50: '#8270cc',
    500: '#3e39b5',
    950: '#000000',
  },
}
SCSS
$custom: #3e39b5;
$custom-light: #8270cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39b5",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 242.419,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.18862,
    "h": 276.9
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

primary
#3E39B5
secondary
#C3C684
accent
#DC4CD6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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