#3E32C4#3E32C4

#3E32C4 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.9% C 0.214 H 276.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3E32C4
RGBrgb(62, 50, 196)
HSLhsl(245, 59%, 48%)
HSVhsv(245, 74%, 77%)
CMYKcmyk(68.4%, 74.5%, 0%, 23.1%)
CIE-LABlab(32.46, 49.33, -73.71)
CIE-LCHlch(32.46, 88.69, 303.79°)
OKLaboklab(43.91% 0.0244 -0.213)
OKLCHoklch(43.91% 0.214 276.5)
XYZxyz(13.0878, 7.2897, 52.9312)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E32C4 #B8C432
analogous
#326FC4 #3E32C4 #8732C4
triadic
#3E32C4 #C43E32 #32C43E
tetradic
#3E32C4 #C4326F #B8C432 #32C487
square
#3E32C4 #C4326F #B8C432 #32C487
split-complementary
#3E32C4 #C48732 #6FC432
monochromatic
#1F1962 #2F2693 #3E32C4 #675DD6 #958EE2

Accessibility & contrast

On white

8.54
#3E32C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3E32C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E32C4
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E32C4#FFFFFF#000000##FFFFFF
##3E32C41.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#0046C1
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e32c4;
/* rgb */ color: rgb(62, 50, 196);
/* oklch */ color: oklch(43.9% 0.214 276.5);
Tailwind
colors: {
  custom: {
    50: '#866cd7',
    500: '#3e32c4',
    950: '#000000',
  },
}
SCSS
$custom: #3e32c4;
$custom-light: #866cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e32c4",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 244.932,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43911,
    "c": 0.21442,
    "h": 276.5
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#3E32C4
secondary
#C7CD85
accent
#E345D6
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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