#3E348E#3E348E

#3E348E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.143 H 282.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3E348E
RGBrgb(62, 52, 142)
HSLhsl(247, 46%, 38%)
HSVhsv(247, 63%, 56%)
CMYKcmyk(56.3%, 63.4%, 0%, 44.3%)
CIE-LABlab(27.93, 30.62, -48.66)
CIE-LCHlch(27.93, 57.50, 302.18°)
OKLaboklab(39.15% 0.0312 -0.1397)
OKLCHoklch(39.15% 0.143 282.6)
XYZxyz(8.0956, 5.4326, 26.2080)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E348E #848E34
analogous
#34578E #3E348E #6B348E
triadic
#3E348E #8E3E34 #348E3E
tetradic
#3E348E #8E3457 #848E34 #348E6B
square
#3E348E #8E3457 #848E34 #348E6B
split-complementary
#3E348E #8E6B34 #578E34
monochromatic
#171334 #2A2461 #3E348E #5244BB #7B71CB

Accessibility & contrast

On white

10.06
#3E348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E348E
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E348E#FFFFFF#000000##FFFFFF
##3E348E1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#194A5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e348e;
/* rgb */ color: rgb(62, 52, 142);
/* oklch */ color: oklch(39.1% 0.143 282.6);
Tailwind
colors: {
  custom: {
    50: '#7b6cb0',
    500: '#3e348e',
    950: '#000000',
  },
}
SCSS
$custom: #3e348e;
$custom-light: #7b6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e348e",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 246.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3915,
    "c": 0.14312,
    "h": 282.6
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#3E348E
secondary
#ABB36A
accent
#D652C7
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3E348E

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

Preview Lab → · Contrast checker → · Palette generator →

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