#3E32C5#3E32C5

#3E32C5 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.0% C 0.216 H 276.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3E32C5
RGBrgb(62, 50, 197)
HSLhsl(245, 60%, 48%)
HSVhsv(245, 75%, 77%)
CMYKcmyk(68.5%, 74.6%, 0%, 22.7%)
CIE-LABlab(32.56, 49.64, -74.13)
CIE-LCHlch(32.56, 89.21, 303.81°)
OKLaboklab(44.01% 0.0242 -0.2142)
OKLCHoklch(44.01% 0.216 276.4)
XYZxyz(13.2020, 7.3354, 53.5326)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E32C5 #B9C532
analogous
#326FC5 #3E32C5 #8732C5
triadic
#3E32C5 #C53E32 #32C53E
tetradic
#3E32C5 #C5326F #B9C532 #32C587
square
#3E32C5 #C5326F #B9C532 #32C587
split-complementary
#3E32C5 #C58732 #6FC532
monochromatic
#1F1963 #2F2694 #3E32C5 #685ED6 #968FE3

Accessibility & contrast

On white

8.51
#3E32C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3E32C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E32C5
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E32C5#FFFFFF#000000##FFFFFF
##3E32C51.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0046C2
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e32c5;
/* rgb */ color: rgb(62, 50, 197);
/* oklch */ color: oklch(44.0% 0.216 276.4);
Tailwind
colors: {
  custom: {
    50: '#866cd8',
    500: '#3e32c5',
    950: '#000000',
  },
}
SCSS
$custom: #3e32c5;
$custom-light: #866cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e32c5",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 244.898,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.2156,
    "h": 276.4
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#3E32C5
secondary
#C7CD86
accent
#E345D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E32C5

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

Preview Lab → · Contrast checker → · Palette generator →

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