#3E2DA4#3E2DA4

#3E2DA4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.181 H 281.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3E2DA4
RGBrgb(62, 45, 164)
HSLhsl(249, 57%, 41%)
HSVhsv(249, 73%, 64%)
CMYKcmyk(62.2%, 72.6%, 0%, 35.7%)
CIE-LABlab(28.33, 41.97, -61.46)
CIE-LCHlch(28.33, 74.43, 304.33°)
OKLaboklab(40.03% 0.0343 -0.1772)
OKLCHoklch(40.03% 0.181 281)
XYZxyz(9.6237, 5.5805, 35.6848)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DA4 #93A42D
analogous
#2D57A4 #3E2DA4 #792DA4
triadic
#3E2DA4 #A43E2D #2DA43E
tetradic
#3E2DA4 #A42D57 #93A42D #2DA479
square
#3E2DA4 #A42D57 #93A42D #2DA479
split-complementary
#3E2DA4 #A4792D #57A42D
monochromatic
#1A1344 #2C2074 #3E2DA4 #5643CB #8173D9

Accessibility & contrast

On white

9.92
#3E2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E2DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DA4
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DA4#FFFFFF#000000##FFFFFF
##3E2DA41.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2da4;
/* rgb */ color: rgb(62, 45, 164);
/* oklch */ color: oklch(40.0% 0.181 281.0);
Tailwind
colors: {
  custom: {
    50: '#8068c0',
    500: '#3e2da4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2da4;
$custom-light: #8068c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2da4",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 248.571,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40035,
    "c": 0.18052,
    "h": 281
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#3E2DA4
secondary
#B4C06D
accent
#E048CA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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