#3E2AAA#3E2AAA

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

Color values

HEX#3E2AAA
RGBrgb(62, 42, 170)
HSLhsl(249, 60%, 42%)
HSVhsv(249, 75%, 67%)
CMYKcmyk(63.5%, 75.3%, 0%, 33.3%)
CIE-LABlab(28.33, 45.49, -65.08)
CIE-LCHlch(28.33, 79.40, 304.96°)
OKLaboklab(40.21% 0.0351 -0.1878)
OKLCHoklch(40.21% 0.191 280.6)
XYZxyz(10.0680, 5.5816, 38.5692)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AAA #96AA2A
analogous
#2A56AA #3E2AAA #7E2AAA
triadic
#3E2AAA #AA3E2A #2AAA3E
tetradic
#3E2AAA #AA2A56 #96AA2A #2AAA7E
square
#3E2AAA #AA2A56 #96AA2A #2AAA7E
split-complementary
#3E2AAA #AA7E2A #56AA2A
monochromatic
#1A1248 #2C1E79 #3E2AAA #5741D0 #8372DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E2AAA#FFFFFF#000000##FFFFFF
##3E2AAA1.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)
#0047AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2aaa;
/* rgb */ color: rgb(62, 42, 170);
/* oklch */ color: oklch(40.2% 0.191 280.6);
Tailwind
colors: {
  custom: {
    50: '#8166c4',
    500: '#3e2aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3e2aaa;
$custom-light: #8166c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2aaa",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 249.375,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.19103,
    "h": 280.6
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#3E2AAA
secondary
#B6C36C
accent
#E444CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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