#3E32B1#3E32B1

#3E32B1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.191 H 278.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#3E32B1
RGBrgb(62, 50, 177)
HSLhsl(246, 56%, 45%)
HSVhsv(246, 72%, 69%)
CMYKcmyk(65%, 71.8%, 0%, 30.6%)
CIE-LABlab(30.59, 43.29, -65.55)
CIE-LCHlch(30.59, 78.56, 303.44°)
OKLaboklab(42.02% 0.0282 -0.1892)
OKLCHoklch(42.02% 0.191 278.5)
XYZxyz(11.0605, 6.4788, 42.2541)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E32B1 #A5B132
analogous
#3266B1 #3E32B1 #7D32B1
triadic
#3E32B1 #B13E32 #32B13E
tetradic
#3E32B1 #B13266 #A5B132 #32B17D
square
#3E32B1 #B13266 #A5B132 #32B17D
split-complementary
#3E32B1 #B17D32 #66B132
monochromatic
#1D1752 #2D2581 #3E32B1 #5E52CE #8A82DC

Accessibility & contrast

On white

9.15
#3E32B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3E32B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E32B1
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E32B1#FFFFFF#000000##FFFFFF
##3E32B11.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3e32b1;
/* rgb */ color: rgb(62, 50, 177);
/* oklch */ color: oklch(42.0% 0.191 278.5);
Tailwind
colors: {
  custom: {
    50: '#826cc9',
    500: '#3e32b1',
    950: '#000000',
  },
}
SCSS
$custom: #3e32b1;
$custom-light: #826cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e32b1",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 245.669,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42023,
    "c": 0.19131,
    "h": 278.5
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#3E32B1
secondary
#BEC57A
accent
#DF49D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3E32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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