#3E349F#3E349F

#3E349F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.166 H 280.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3E349F
RGBrgb(62, 52, 159)
HSLhsl(246, 51%, 41%)
HSVhsv(246, 67%, 62%)
CMYKcmyk(61%, 67.3%, 0%, 37.6%)
CIE-LABlab(29.37, 36.25, -56.73)
CIE-LCHlch(29.37, 67.32, 302.58°)
OKLaboklab(40.64% 0.0295 -0.1634)
OKLCHoklch(40.64% 0.166 280.2)
XYZxyz(9.4706, 5.9826, 33.4499)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E349F #959F34
analogous
#34609F #3E349F #74349F
triadic
#3E349F #9F3E34 #349F3E
tetradic
#3E349F #9F3460 #959F34 #349F74
square
#3E349F #9F3460 #959F34 #349F74
split-complementary
#3E349F #9F7434 #609F34
monochromatic
#1A1643 #2C2571 #3E349F #574CC4 #827AD3

Accessibility & contrast

On white

9.56
#3E349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3E349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E349F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E349F#FFFFFF#000000##FFFFFF
##3E349F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3e349f;
/* rgb */ color: rgb(62, 52, 159);
/* oklch */ color: oklch(40.6% 0.166 280.2);
Tailwind
colors: {
  custom: {
    50: '#7e6cbc',
    500: '#3e349f',
    950: '#000000',
  },
}
SCSS
$custom: #3e349f;
$custom-light: #7e6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e349f",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 245.607,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40641,
    "c": 0.16602,
    "h": 280.2
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#3E349F
secondary
#B5BC73
accent
#DA4ECD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E349F

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

Preview Lab → · Contrast checker → · Palette generator →

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