#3E2CAC#3E2CAC

#3E2CAC is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.7% C 0.191 H 280.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#3E2CAC
RGBrgb(62, 44, 172)
HSLhsl(248, 59%, 42%)
HSVhsv(248, 74%, 67%)
CMYKcmyk(64%, 74.4%, 0%, 32.5%)
CIE-LABlab(28.91, 45.04, -65.33)
CIE-LCHlch(28.91, 79.35, 304.59°)
OKLaboklab(40.68% 0.0333 -0.1885)
OKLCHoklch(40.68% 0.191 280)
XYZxyz(10.3313, 5.8033, 39.5974)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2CAC #9AAC2C
analogous
#2C5AAC #3E2CAC #7E2CAC
triadic
#3E2CAC #AC3E2C #2CAC3E
tetradic
#3E2CAC #AC2C5A #9AAC2C #2CAC7E
square
#3E2CAC #AC2C5A #9AAC2C #2CAC7E
split-complementary
#3E2CAC #AC7E2C #5AAC2C
monochromatic
#1B134B #2C207B #3E2CAC #5946D0 #8576DC

Accessibility & contrast

On white

9.72
#3E2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3E2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2CAC
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2CAC#FFFFFF#000000##FFFFFF
##3E2CAC1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e2cac;
/* rgb */ color: rgb(62, 44, 172);
/* oklch */ color: oklch(40.7% 0.191 280.0);
Tailwind
colors: {
  custom: {
    50: '#8268c6',
    500: '#3e2cac',
    950: '#000000',
  },
}
SCSS
$custom: #3e2cac;
$custom-light: #8268c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2cac",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 248.438,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40683,
    "c": 0.19144,
    "h": 280
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#3E2CAC
secondary
#B8C470
accent
#E245CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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