#3E39B9#3E39B9

#3E39B9 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.8% C 0.194 H 276.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3E39B9
RGBrgb(62, 57, 185)
HSLhsl(242, 53%, 47%)
HSVhsv(242, 69%, 73%)
CMYKcmyk(66.5%, 69.2%, 0%, 27.5%)
CIE-LABlab(32.81, 41.84, -66.65)
CIE-LCHlch(32.81, 78.69, 302.12°)
OKLaboklab(43.85% 0.0221 -0.1924)
OKLCHoklch(43.85% 0.194 276.5)
XYZxyz(12.2038, 7.4521, 46.6848)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39B9 #B4B939
analogous
#3974B9 #3E39B9 #7E39B9
triadic
#3E39B9 #B93E39 #39B93E
tetradic
#3E39B9 #B93974 #B4B939 #39B97E
square
#3E39B9 #B93974 #B4B939 #39B97E
split-complementary
#3E39B9 #B97E39 #74B939
monochromatic
#1F1C5B #2E2B8A #3E39B9 #6561CE #9390DD

Accessibility & contrast

On white

8.43
#3E39B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3E39B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39B9
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39B9#FFFFFF#000000##FFFFFF
##3E39B91.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e39b9;
/* rgb */ color: rgb(62, 57, 185);
/* oklch */ color: oklch(43.8% 0.194 276.5);
Tailwind
colors: {
  custom: {
    50: '#8370cf',
    500: '#3e39b9',
    950: '#000000',
  },
}
SCSS
$custom: #3e39b9;
$custom-light: #8370cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39b9",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 242.344,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43845,
    "c": 0.19369,
    "h": 276.5
  },
  "luminance": 0.07453
}

Semantic roles & 50–950 ramp

primary
#3E39B9
secondary
#C5C886
accent
#DC4BD7
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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