#3E2EA1#3E2EA1

#3E2EA1 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.176 H 281.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3E2EA1
RGBrgb(62, 46, 161)
HSLhsl(248, 56%, 41%)
HSVhsv(248, 71%, 63%)
CMYKcmyk(61.5%, 71.4%, 0%, 36.9%)
CIE-LABlab(28.25, 40.45, -59.78)
CIE-LCHlch(28.25, 72.18, 304.09°)
OKLaboklab(39.89% 0.0341 -0.1723)
OKLCHoklch(39.89% 0.176 281.2)
XYZxyz(9.3946, 5.5507, 34.2876)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2EA1 #91A12E
analogous
#2E57A1 #3E2EA1 #772EA1
triadic
#3E2EA1 #A13E2E #2EA13E
tetradic
#3E2EA1 #A12E57 #91A12E #2EA177
square
#3E2EA1 #A12E57 #91A12E #2EA177
split-complementary
#3E2EA1 #A1772E #57A12E
monochromatic
#191342 #2C2071 #3E2EA1 #5643C9 #8073D7

Accessibility & contrast

On white

9.95
#3E2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E2EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2EA1
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2EA1#FFFFFF#000000##FFFFFF
##3E2EA11.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2ea1;
/* rgb */ color: rgb(62, 46, 161);
/* oklch */ color: oklch(39.9% 0.176 281.2);
Tailwind
colors: {
  custom: {
    50: '#7f68be',
    500: '#3e2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #3e2ea1;
$custom-light: #7f68be;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2ea1",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 248.348,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39892,
    "c": 0.17565,
    "h": 281.2
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#3E2EA1
secondary
#B3BE6C
accent
#DF49CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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