#3E348C#3E348C

#3E348C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.140 H 282.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3E348C
RGBrgb(62, 52, 140)
HSLhsl(247, 46%, 38%)
HSVhsv(247, 63%, 55%)
CMYKcmyk(55.7%, 62.9%, 0%, 45.1%)
CIE-LABlab(27.77, 29.96, -47.69)
CIE-LCHlch(27.77, 56.32, 302.14°)
OKLaboklab(38.98% 0.0313 -0.1368)
OKLCHoklch(38.98% 0.14 282.9)
XYZxyz(7.9468, 5.3731, 25.4242)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E348C #828C34
analogous
#34568C #3E348C #6A348C
triadic
#3E348C #8C3E34 #348C3E
tetradic
#3E348C #8C3456 #828C34 #348C6A
square
#3E348C #8C3456 #828C34 #348C6A
split-complementary
#3E348C #8C6A34 #568C34
monochromatic
#161333 #2A235F #3E348C #5245B9 #7B70CA

Accessibility & contrast

On white

10.12
#3E348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E348C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E348C#FFFFFF#000000##FFFFFF
##3E348C1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#1B495B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e348c;
/* rgb */ color: rgb(62, 52, 140);
/* oklch */ color: oklch(39.0% 0.140 282.9);
Tailwind
colors: {
  custom: {
    50: '#7b6cae',
    500: '#3e348c',
    950: '#000000',
  },
}
SCSS
$custom: #3e348c;
$custom-light: #7b6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e348c",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 246.818,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.14035,
    "h": 282.9
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#3E348C
secondary
#AAB26A
accent
#D552C7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E348C

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

Preview Lab → · Contrast checker → · Palette generator →

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