#3E348F#3E348F

#3E348F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.144 H 282.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3E348F
RGBrgb(62, 52, 143)
HSLhsl(247, 47%, 38%)
HSVhsv(247, 64%, 56%)
CMYKcmyk(56.6%, 63.6%, 0%, 43.9%)
CIE-LABlab(28.01, 30.95, -49.15)
CIE-LCHlch(28.01, 58.08, 302.20°)
OKLaboklab(39.24% 0.0311 -0.1411)
OKLCHoklch(39.24% 0.144 282.4)
XYZxyz(8.1710, 5.4628, 26.6051)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E348F #858F34
analogous
#34578F #3E348F #6B348F
triadic
#3E348F #8F3E34 #348F3E
tetradic
#3E348F #8F3457 #858F34 #348F6B
square
#3E348F #8F3457 #858F34 #348F6B
split-complementary
#3E348F #8F6B34 #578F34
monochromatic
#171335 #2B2462 #3E348F #5245BB #7C72CC

Accessibility & contrast

On white

10.04
#3E348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E348F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E348F#FFFFFF#000000##FFFFFF
##3E348F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#174A5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e348f;
/* rgb */ color: rgb(62, 52, 143);
/* oklch */ color: oklch(39.2% 0.144 282.4);
Tailwind
colors: {
  custom: {
    50: '#7b6cb1',
    500: '#3e348f',
    950: '#000000',
  },
}
SCSS
$custom: #3e348f;
$custom-light: #7b6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e348f",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 246.593,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39235,
    "c": 0.14449,
    "h": 282.4
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#3E348F
secondary
#ACB46B
accent
#D651C8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3E348F

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

Preview Lab → · Contrast checker → · Palette generator →

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