#3E398E#3E398E

#3E398E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.136 H 280.9°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#3E398E
RGBrgb(62, 57, 142)
HSLhsl(244, 43%, 39%)
HSVhsv(244, 60%, 56%)
CMYKcmyk(56.3%, 59.9%, 0%, 44.3%)
CIE-LABlab(29.17, 27.42, -46.66)
CIE-LCHlch(29.17, 54.12, 300.44°)
OKLaboklab(40.06% 0.0259 -0.1338)
OKLCHoklch(40.06% 0.136 280.9)
XYZxyz(8.3307, 5.9029, 26.2863)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E398E #898E39
analogous
#395F8E #3E398E #69398E
triadic
#3E398E #8E3E39 #398E3E
tetradic
#3E398E #8E395F #898E39 #398E69
square
#3E398E #8E395F #898E39 #398E69
split-complementary
#3E398E #8E6939 #5F8E39
monochromatic
#181637 #2B2762 #3E398E #534DB7 #7D78C9

Accessibility & contrast

On white

9.63
#3E398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3E398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E398E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E398E#FFFFFF#000000##FFFFFF
##3E398E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#184D5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e398e;
/* rgb */ color: rgb(62, 57, 142);
/* oklch */ color: oklch(40.1% 0.136 280.9);
Tailwind
colors: {
  custom: {
    50: '#7b6fb0',
    500: '#3e398e',
    950: '#000000',
  },
}
SCSS
$custom: #3e398e;
$custom-light: #7b6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e398e",
  "rgb": {
    "r": 62,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 243.529,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40056,
    "c": 0.13626,
    "h": 280.9
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#3E398E
secondary
#AEB271
accent
#D255CB
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E398E

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

Preview Lab → · Contrast checker → · Palette generator →

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