#3E32AB#3E32AB

#3E32AB is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.184 H 279.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3E32AB
RGBrgb(62, 50, 171)
HSLhsl(246, 55%, 43%)
HSVhsv(246, 71%, 67%)
CMYKcmyk(63.7%, 70.8%, 0%, 32.9%)
CIE-LABlab(30.02, 41.36, -62.90)
CIE-LCHlch(30.02, 75.28, 303.33°)
OKLaboklab(41.45% 0.0293 -0.1814)
OKLCHoklch(41.45% 0.184 279.2)
XYZxyz(10.4755, 6.2448, 39.1735)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E32AB #9FAB32
analogous
#3263AB #3E32AB #7A32AB
triadic
#3E32AB #AB3E32 #32AB3E
tetradic
#3E32AB #AB3263 #9FAB32 #32AB7A
square
#3E32AB #AB3263 #9FAB32 #32AB7A
split-complementary
#3E32AB #AB7A32 #63AB32
monochromatic
#1C164C #2D247C #3E32AB #5B4FCB #877ED9

Accessibility & contrast

On white

9.34
#3E32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3E32AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E32AB
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E32AB#FFFFFF#000000##FFFFFF
##3E32AB1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3e32ab;
/* rgb */ color: rgb(62, 50, 171);
/* oklch */ color: oklch(41.4% 0.184 279.2);
Tailwind
colors: {
  custom: {
    50: '#816bc5',
    500: '#3e32ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e32ab;
$custom-light: #816bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e32ab",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 245.95,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41445,
    "c": 0.1838,
    "h": 279.2
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#3E32AB
secondary
#BBC277
accent
#DE4ACF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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