#3E349A#3E349A

#3E349A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.159 H 280.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3E349A
RGBrgb(62, 52, 154)
HSLhsl(246, 50%, 40%)
HSVhsv(246, 66%, 60%)
CMYKcmyk(59.7%, 66.2%, 0%, 39.6%)
CIE-LABlab(28.93, 34.60, -54.40)
CIE-LCHlch(28.93, 64.47, 302.46°)
OKLaboklab(40.19% 0.0301 -0.1565)
OKLCHoklch(40.19% 0.159 280.9)
XYZxyz(9.0455, 5.8126, 31.2109)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E349A #909A34
analogous
#345D9A #3E349A #71349A
triadic
#3E349A #9A3E34 #349A3E
tetradic
#3E349A #9A345D #909A34 #349A71
square
#3E349A #9A345D #909A34 #349A71
split-complementary
#3E349A #9A7134 #5D9A34
monochromatic
#19153E #2C256C #3E349A #5549C2 #8077D1

Accessibility & contrast

On white

9.71
#3E349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3E349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E349A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E349A#FFFFFF#000000##FFFFFF
##3E349A1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e349a;
/* rgb */ color: rgb(62, 52, 154);
/* oklch */ color: oklch(40.2% 0.159 280.9);
Tailwind
colors: {
  custom: {
    50: '#7d6cb9',
    500: '#3e349a',
    950: '#000000',
  },
}
SCSS
$custom: #3e349a;
$custom-light: #7d6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e349a",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 245.882,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.15939,
    "h": 280.9
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#3E349A
secondary
#B2BA70
accent
#D94FCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #3E349A

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

Preview Lab → · Contrast checker → · Palette generator →

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