#3E32AD#3E32AD

#3E32AD is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.186 H 278.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#3E32AD
RGBrgb(62, 50, 173)
HSLhsl(246, 55%, 44%)
HSVhsv(246, 71%, 68%)
CMYKcmyk(64.2%, 71.1%, 0%, 32.2%)
CIE-LABlab(30.21, 42.00, -63.79)
CIE-LCHlch(30.21, 76.38, 303.36°)
OKLaboklab(41.64% 0.0289 -0.184)
OKLCHoklch(41.64% 0.186 278.9)
XYZxyz(10.6676, 6.3216, 40.1851)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E32AD #A1AD32
analogous
#3263AD #3E32AD #7B32AD
triadic
#3E32AD #AD3E32 #32AD3E
tetradic
#3E32AD #AD3263 #A1AD32 #32AD7B
square
#3E32AD #AD3263 #A1AD32 #32AD7B
split-complementary
#3E32AD #AD7B32 #63AD32
monochromatic
#1C174E #2D247E #3E32AD #5C50CC #887FDA

Accessibility & contrast

On white

9.27
#3E32AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3E32AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E32AD
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E32AD#FFFFFF#000000##FFFFFF
##3E32AD1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e32ad;
/* rgb */ color: rgb(62, 50, 173);
/* oklch */ color: oklch(41.6% 0.186 278.9);
Tailwind
colors: {
  custom: {
    50: '#816bc7',
    500: '#3e32ad',
    950: '#000000',
  },
}
SCSS
$custom: #3e32ad;
$custom-light: #816bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e32ad",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 245.854,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41636,
    "c": 0.18631,
    "h": 278.9
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#3E32AD
secondary
#BCC378
accent
#DE49D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E32AD

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

Preview Lab → · Contrast checker → · Palette generator →

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