#3E3191#3E3191

#3E3191 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.151 H 283.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3E3191
RGBrgb(62, 49, 145)
HSLhsl(248, 49%, 38%)
HSVhsv(248, 66%, 57%)
CMYKcmyk(57.2%, 66.2%, 0%, 43.1%)
CIE-LABlab(27.48, 33.49, -51.26)
CIE-LCHlch(27.48, 61.23, 303.16°)
OKLaboklab(38.9% 0.0339 -0.1473)
OKLCHoklch(38.9% 0.151 283)
XYZxyz(8.1942, 5.2646, 27.3670)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3191 #849131
analogous
#315491 #3E3191 #6E3191
triadic
#3E3191 #913E31 #31913E
tetradic
#3E3191 #913154 #849131 #31916E
square
#3E3191 #913154 #849131 #31916E
split-complementary
#3E3191 #916E31 #549131
monochromatic
#171236 #2A2263 #3E3191 #5241BF #7B6ECE

Accessibility & contrast

On white

10.23
#3E3191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3E3191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3191
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3191#FFFFFF#000000##FFFFFF
##3E31911.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#15495C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e3191;
/* rgb */ color: rgb(62, 49, 145);
/* oklch */ color: oklch(38.9% 0.151 283.0);
Tailwind
colors: {
  custom: {
    50: '#7c6ab2',
    500: '#3e3191',
    950: '#000000',
  },
}
SCSS
$custom: #3e3191;
$custom-light: #7c6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3191",
  "rgb": {
    "r": 62,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 248.125,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38895,
    "c": 0.15118,
    "h": 283
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#3E3191
secondary
#ABB668
accent
#D94FC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E3191

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

Preview Lab → · Contrast checker → · Palette generator →

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