#3E3491#3E3491

#3E3491 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.147 H 282.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3E3491
RGBrgb(62, 52, 145)
HSLhsl(246, 47%, 39%)
HSVhsv(246, 64%, 57%)
CMYKcmyk(57.2%, 64.1%, 0%, 43.1%)
CIE-LABlab(28.18, 31.62, -50.11)
CIE-LCHlch(28.18, 59.26, 302.25°)
OKLaboklab(39.41% 0.0309 -0.144)
OKLCHoklch(39.41% 0.147 282.1)
XYZxyz(8.3239, 5.5239, 27.4102)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3491 #879134
analogous
#345891 #3E3491 #6C3491
triadic
#3E3491 #913E34 #34913E
tetradic
#3E3491 #913458 #879134 #34916C
square
#3E3491 #913458 #879134 #34916C
split-complementary
#3E3491 #916C34 #589134
monochromatic
#171437 #2B2464 #3E3491 #5246BD #7C73CD

Accessibility & contrast

On white

9.98
#3E3491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E3491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3491
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3491#FFFFFF#000000##FFFFFF
##3E34911.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#144B5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e3491;
/* rgb */ color: rgb(62, 52, 145);
/* oklch */ color: oklch(39.4% 0.147 282.1);
Tailwind
colors: {
  custom: {
    50: '#7c6cb2',
    500: '#3e3491',
    950: '#000000',
  },
}
SCSS
$custom: #3e3491;
$custom-light: #7c6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3491",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 145
  },
  "hsl": {
    "h": 246.452,
    "s": 47.208,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39406,
    "c": 0.14725,
    "h": 282.1
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#3E3491
secondary
#ADB56C
accent
#D751C8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3E3491

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

Preview Lab → · Contrast checker → · Palette generator →

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