#3E2AAC#3E2AAC

#3E2AAC is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.193 H 280.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3E2AAC
RGBrgb(62, 42, 172)
HSLhsl(249, 61%, 42%)
HSVhsv(249, 76%, 67%)
CMYKcmyk(64%, 75.6%, 0%, 32.5%)
CIE-LABlab(28.53, 46.11, -65.95)
CIE-LCHlch(28.53, 80.47, 304.96°)
OKLaboklab(40.42% 0.0346 -0.1903)
OKLCHoklch(40.42% 0.193 280.3)
XYZxyz(10.2586, 5.6578, 39.5732)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2AAC #98AC2A
analogous
#2A57AC #3E2AAC #7F2AAC
triadic
#3E2AAC #AC3E2A #2AAC3E
tetradic
#3E2AAC #AC2A57 #98AC2A #2AAC7F
square
#3E2AAC #AC2A57 #98AC2A #2AAC7F
split-complementary
#3E2AAC #AC7F2A #57AC2A
monochromatic
#1B124A #2C1E7B #3E2AAC #5842D1 #8473DD

Accessibility & contrast

On white

9.85
#3E2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E2AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2AAC
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2AAC#FFFFFF#000000##FFFFFF
##3E2AAC1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2aac;
/* rgb */ color: rgb(62, 42, 172);
/* oklch */ color: oklch(40.4% 0.193 280.3);
Tailwind
colors: {
  custom: {
    50: '#8267c6',
    500: '#3e2aac',
    950: '#000000',
  },
}
SCSS
$custom: #3e2aac;
$custom-light: #8267c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2aac",
  "rgb": {
    "r": 62,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 249.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.19344,
    "h": 280.3
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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