#3E2AAB#3E2AAB

#3E2AAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.192 H 280.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3E2AAB
RGBrgb(62, 42, 171)
HSLhsl(249, 61%, 42%)
HSVhsv(249, 75%, 67%)
CMYKcmyk(63.7%, 75.4%, 0%, 32.9%)
CIE-LABlab(28.43, 45.80, -65.51)
CIE-LCHlch(28.43, 79.94, 304.96°)
OKLaboklab(40.32% 0.0348 -0.189)
OKLCHoklch(40.32% 0.192 280.4)
XYZxyz(10.1629, 5.6196, 39.0693)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AAB #97AB2A
analogous
#2A57AB #3E2AAB #7F2AAB
triadic
#3E2AAB #AB3E2A #2AAB3E
tetradic
#3E2AAB #AB2A57 #97AB2A #2AAB7F
square
#3E2AAB #AB2A57 #97AB2A #2AAB7F
split-complementary
#3E2AAB #AB7F2A #57AB2A
monochromatic
#1A1249 #2C1E7A #3E2AAB #5842D1 #8373DD

Accessibility & contrast

On white

9.89
#3E2AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2AAB
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2AAB#FFFFFF#000000##FFFFFF
##3E2AAB1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2aab;
/* rgb */ color: rgb(62, 42, 171);
/* oklch */ color: oklch(40.3% 0.192 280.4);
Tailwind
colors: {
  custom: {
    50: '#8166c5',
    500: '#3e2aab',
    950: '#000000',
  },
}
SCSS
$custom: #3e2aab;
$custom-light: #8166c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2aab",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 249.302,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40315,
    "c": 0.19223,
    "h": 280.4
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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