#3E389F#3E389F

#3E389F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.161 H 279.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3E389F
RGBrgb(62, 56, 159)
HSLhsl(243, 48%, 42%)
HSVhsv(243, 65%, 62%)
CMYKcmyk(61%, 64.8%, 0%, 37.6%)
CIE-LABlab(30.29, 33.78, -55.22)
CIE-LCHlch(30.29, 64.73, 301.46°)
OKLaboklab(41.31% 0.0259 -0.1589)
OKLCHoklch(41.31% 0.161 279.3)
XYZxyz(9.6568, 6.3550, 33.5119)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E389F #999F38
analogous
#38669F #3E389F #72389F
triadic
#3E389F #9F3E38 #389F3E
tetradic
#3E389F #9F3866 #999F38 #389F72
square
#3E389F #9F3866 #999F38 #389F72
split-complementary
#3E389F #9F7238 #669F38
monochromatic
#1B1844 #2C2872 #3E389F #5952C2 #847FD2

Accessibility & contrast

On white

9.25
#3E389F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3E389F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E389F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E389F#FFFFFF#000000##FFFFFF
##3E389F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e389f;
/* rgb */ color: rgb(62, 56, 159);
/* oklch */ color: oklch(41.3% 0.161 279.3);
Tailwind
colors: {
  custom: {
    50: '#7e6fbc',
    500: '#3e389f',
    950: '#000000',
  },
}
SCSS
$custom: #3e389f;
$custom-light: #7e6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e389f",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 159
  },
  "hsl": {
    "h": 243.495,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41311,
    "c": 0.16104,
    "h": 279.3
  },
  "luminance": 0.06356
}

Semantic roles & 50–950 ramp

primary
#3E389F
secondary
#B8BB77
accent
#D750D0
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E389F

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

Preview Lab → · Contrast checker → · Palette generator →

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