#3E2AA5#3E2AA5

#3E2AA5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.185 H 281.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3E2AA5
RGBrgb(62, 42, 165)
HSLhsl(250, 59%, 41%)
HSVhsv(250, 75%, 65%)
CMYKcmyk(62.4%, 74.5%, 0%, 35.3%)
CIE-LABlab(27.83, 43.94, -62.88)
CIE-LCHlch(27.83, 76.71, 304.95°)
OKLaboklab(39.71% 0.0363 -0.1814)
OKLCHoklch(39.71% 0.185 281.3)
XYZxyz(9.6040, 5.3960, 36.1254)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AA5 #91A52A
analogous
#2A53A5 #3E2AA5 #7B2AA5
triadic
#3E2AA5 #A53E2A #2AA53E
tetradic
#3E2AA5 #A52A53 #91A52A #2AA57B
square
#3E2AA5 #A52A53 #91A52A #2AA57B
split-complementary
#3E2AA5 #A57B2A #53A52A
monochromatic
#191143 #2C1E74 #3E2AA5 #563ECE #806FDA

Accessibility & contrast

On white

10.10
#3E2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3E2AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2AA5
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2AA5#FFFFFF#000000##FFFFFF
##3E2AA51.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2aa5;
/* rgb */ color: rgb(62, 42, 165);
/* oklch */ color: oklch(39.7% 0.185 281.3);
Tailwind
colors: {
  custom: {
    50: '#8066c1',
    500: '#3e2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #3e2aa5;
$custom-light: #8066c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2aa5",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 249.756,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39714,
    "c": 0.18495,
    "h": 281.3
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#3E2AA5
secondary
#B3C169
accent
#E345C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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