#3E39BB#3E39BB

#3E39BB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.196 H 276.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#3E39BB
RGBrgb(62, 57, 187)
HSLhsl(242, 53%, 48%)
HSVhsv(242, 70%, 73%)
CMYKcmyk(66.8%, 69.5%, 0%, 26.7%)
CIE-LABlab(33.00, 42.49, -67.53)
CIE-LCHlch(33.00, 79.78, 302.18°)
OKLaboklab(44.04% 0.0218 -0.195)
OKLCHoklch(44.04% 0.196 276.4)
XYZxyz(12.4164, 7.5372, 47.8046)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E39BB #B6BB39
analogous
#3975BB #3E39BB #7F39BB
triadic
#3E39BB #BB3E39 #39BB3E
tetradic
#3E39BB #BB3975 #B6BB39 #39BB7F
square
#3E39BB #BB3975 #B6BB39 #39BB7F
split-complementary
#3E39BB #BB7F39 #75BB39
monochromatic
#1F1C5D #2E2B8C #3E39BB #6662CF #9491DD

Accessibility & contrast

On white

8.37
#3E39BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3E39BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E39BB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E39BB#FFFFFF#000000##FFFFFF
##3E39BB1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3e39bb;
/* rgb */ color: rgb(62, 57, 187);
/* oklch */ color: oklch(44.0% 0.196 276.4);
Tailwind
colors: {
  custom: {
    50: '#8370d1',
    500: '#3e39bb',
    950: '#000000',
  },
}
SCSS
$custom: #3e39bb;
$custom-light: #8370d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e39bb",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 242.308,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44035,
    "c": 0.1962,
    "h": 276.4
  },
  "luminance": 0.07538
}

Semantic roles & 50–950 ramp

primary
#3E39BB
secondary
#C6C887
accent
#DD4BD7
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3E39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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