#3E2AA4#3E2AA4

#3E2AA4 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.184 H 281.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3E2AA4
RGBrgb(62, 42, 164)
HSLhsl(250, 59%, 40%)
HSVhsv(250, 74%, 64%)
CMYKcmyk(62.2%, 74.4%, 0%, 35.7%)
CIE-LABlab(27.74, 43.63, -62.44)
CIE-LCHlch(27.74, 76.17, 304.95°)
OKLaboklab(39.62% 0.0365 -0.1801)
OKLCHoklch(39.62% 0.184 281.5)
XYZxyz(9.5133, 5.3597, 35.6480)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AA4 #90A42A
analogous
#2A53A4 #3E2AA4 #7B2AA4
triadic
#3E2AA4 #A43E2A #2AA43E
tetradic
#3E2AA4 #A42A53 #90A42A #2AA47B
square
#3E2AA4 #A42A53 #90A42A #2AA47B
split-complementary
#3E2AA4 #A47B2A #53A42A
monochromatic
#191143 #2C1E73 #3E2AA4 #553ECD #806EDA

Accessibility & contrast

On white

10.14
#3E2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E2AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2AA4
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2AA4#FFFFFF#000000##FFFFFF
##3E2AA41.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2aa4;
/* rgb */ color: rgb(62, 42, 164);
/* oklch */ color: oklch(39.6% 0.184 281.5);
Tailwind
colors: {
  custom: {
    50: '#8066c0',
    500: '#3e2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #3e2aa4;
$custom-light: #8066c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2aa4",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 249.836,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39615,
    "c": 0.18372,
    "h": 281.5
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#3E2AA4
secondary
#B2C169
accent
#E245C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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