#3E349C#3E349C

#3E349C is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.162 H 280.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3E349C
RGBrgb(62, 52, 156)
HSLhsl(246, 50%, 41%)
HSVhsv(246, 67%, 61%)
CMYKcmyk(60.3%, 66.7%, 0%, 38.8%)
CIE-LABlab(29.11, 35.26, -55.33)
CIE-LCHlch(29.11, 65.61, 302.50°)
OKLaboklab(40.37% 0.0299 -0.1593)
OKLCHoklch(40.37% 0.162 280.6)
XYZxyz(9.2135, 5.8798, 32.0954)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E349C #929C34
analogous
#345E9C #3E349C #72349C
triadic
#3E349C #9C3E34 #349C3E
tetradic
#3E349C #9C345E #929C34 #349C72
square
#3E349C #9C345E #929C34 #349C72
split-complementary
#3E349C #9C7234 #5E9C34
monochromatic
#1A1540 #2C256E #3E349C #564AC3 #8178D2

Accessibility & contrast

On white

9.65
#3E349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E349C
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E349C#FFFFFF#000000##FFFFFF
##3E349C1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e349c;
/* rgb */ color: rgb(62, 52, 156);
/* oklch */ color: oklch(40.4% 0.162 280.6);
Tailwind
colors: {
  custom: {
    50: '#7e6cba',
    500: '#3e349c',
    950: '#000000',
  },
}
SCSS
$custom: #3e349c;
$custom-light: #7e6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e349c",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 245.769,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40371,
    "c": 0.16205,
    "h": 280.6
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#3E349C
secondary
#B4BB71
accent
#DA4ECC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E349C

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

Preview Lab → · Contrast checker → · Palette generator →

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