#3E32C1#3E32C1

#3E32C1 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.6% C 0.211 H 276.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3E32C1
RGBrgb(62, 50, 193)
HSLhsl(245, 59%, 48%)
HSVhsv(245, 74%, 76%)
CMYKcmyk(67.9%, 74.1%, 0%, 24.3%)
CIE-LABlab(32.16, 48.38, -72.45)
CIE-LCHlch(32.16, 87.12, 303.74°)
OKLaboklab(43.61% 0.0251 -0.2093)
OKLCHoklch(43.61% 0.211 276.8)
XYZxyz(12.7497, 7.1545, 51.1508)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E32C1 #B5C132
analogous
#326DC1 #3E32C1 #8532C1
triadic
#3E32C1 #C13E32 #32C13E
tetradic
#3E32C1 #C1326D #B5C132 #32C185
square
#3E32C1 #C1326D #B5C132 #32C185
split-complementary
#3E32C1 #C18532 #6DC132
monochromatic
#1F1960 #2E2590 #3E32C1 #665CD5 #938CE1

Accessibility & contrast

On white

8.64
#3E32C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3E32C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E32C1
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E32C1#FFFFFF#000000##FFFFFF
##3E32C11.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#0045BE
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e32c1;
/* rgb */ color: rgb(62, 50, 193);
/* oklch */ color: oklch(43.6% 0.211 276.8);
Tailwind
colors: {
  custom: {
    50: '#856cd5',
    500: '#3e32c1',
    950: '#000000',
  },
}
SCSS
$custom: #3e32c1;
$custom-light: #856cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e32c1",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 245.035,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43607,
    "c": 0.21083,
    "h": 276.8
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#3E32C1
secondary
#C5CB83
accent
#E246D5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83

Preview Lab

Preview with #3E32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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