#3E2CAA#3E2CAA

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

Color values

HEX#3E2CAA
RGBrgb(62, 44, 170)
HSLhsl(249, 59%, 42%)
HSVhsv(249, 74%, 67%)
CMYKcmyk(63.5%, 74.1%, 0%, 33.3%)
CIE-LABlab(28.71, 44.42, -64.45)
CIE-LCHlch(28.71, 78.27, 304.57°)
OKLaboklab(40.48% 0.0337 -0.186)
OKLCHoklch(40.48% 0.189 280.3)
XYZxyz(10.1407, 5.7270, 38.5935)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2CAA #98AA2C
analogous
#2C59AA #3E2CAA #7D2CAA
triadic
#3E2CAA #AA3E2C #2CAA3E
tetradic
#3E2CAA #AA2C59 #98AA2C #2CAA7D
square
#3E2CAA #AA2C59 #98AA2C #2CAA7D
split-complementary
#3E2CAA #AA7D2C #59AA2C
monochromatic
#1B1349 #2C1F79 #3E2CAA #5844CF #8475DB

Accessibility & contrast

On white

9.79
#3E2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3E2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2CAA
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2CAA#FFFFFF#000000##FFFFFF
##3E2CAA1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e2caa;
/* rgb */ color: rgb(62, 44, 170);
/* oklch */ color: oklch(40.5% 0.189 280.3);
Tailwind
colors: {
  custom: {
    50: '#8168c4',
    500: '#3e2caa',
    950: '#000000',
  },
}
SCSS
$custom: #3e2caa;
$custom-light: #8168c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2caa",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 248.571,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40484,
    "c": 0.189,
    "h": 280.3
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#3E2CAA
secondary
#B7C36F
accent
#E246CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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