#3E349B#3E349B

#3E349B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.161 H 280.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#3E349B
RGBrgb(62, 52, 155)
HSLhsl(246, 50%, 41%)
HSVhsv(246, 66%, 61%)
CMYKcmyk(60%, 66.5%, 0%, 39.2%)
CIE-LABlab(29.02, 34.93, -54.87)
CIE-LCHlch(29.02, 65.04, 302.48°)
OKLaboklab(40.28% 0.03 -0.1579)
OKLCHoklch(40.28% 0.161 280.7)
XYZxyz(9.1291, 5.8460, 31.6513)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E349B #919B34
analogous
#345D9B #3E349B #71349B
triadic
#3E349B #9B3E34 #349B3E
tetradic
#3E349B #9B345D #919B34 #349B71
square
#3E349B #9B345D #919B34 #349B71
split-complementary
#3E349B #9B7134 #5D9B34
monochromatic
#19153F #2C256D #3E349B #564AC2 #8078D2

Accessibility & contrast

On white

9.68
#3E349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3E349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E349B
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E349B#FFFFFF#000000##FFFFFF
##3E349B1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e349b;
/* rgb */ color: rgb(62, 52, 155);
/* oklch */ color: oklch(40.3% 0.161 280.7);
Tailwind
colors: {
  custom: {
    50: '#7e6cb9',
    500: '#3e349b',
    950: '#000000',
  },
}
SCSS
$custom: #3e349b;
$custom-light: #7e6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e349b",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 245.825,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40281,
    "c": 0.16073,
    "h": 280.7
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#3E349B
secondary
#B3BA71
accent
#D94FCC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E349B

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

Preview Lab → · Contrast checker → · Palette generator →

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