#3E32AA#3E32AA

#3E32AA is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.183 H 279.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#3E32AA
RGBrgb(62, 50, 170)
HSLhsl(246, 55%, 43%)
HSVhsv(246, 71%, 67%)
CMYKcmyk(63.5%, 70.6%, 0%, 33.3%)
CIE-LABlab(29.93, 41.03, -62.45)
CIE-LCHlch(29.93, 74.73, 303.31°)
OKLaboklab(41.35% 0.0295 -0.1801)
OKLCHoklch(41.35% 0.183 279.3)
XYZxyz(10.3806, 6.2068, 38.6734)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E32AA #9EAA32
analogous
#3262AA #3E32AA #7A32AA
triadic
#3E32AA #AA3E32 #32AA3E
tetradic
#3E32AA #AA3262 #9EAA32 #32AA7A
square
#3E32AA #AA3262 #9EAA32 #32AA7A
split-complementary
#3E32AA #AA7A32 #62AA32
monochromatic
#1C164B #2D247B #3E32AA #5B4ECB #877DD9

Accessibility & contrast

On white

9.37
#3E32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3E32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E32AA
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E32AA#FFFFFF#000000##FFFFFF
##3E32AA1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e32aa;
/* rgb */ color: rgb(62, 50, 170);
/* oklch */ color: oklch(41.3% 0.183 279.3);
Tailwind
colors: {
  custom: {
    50: '#816bc4',
    500: '#3e32aa',
    950: '#000000',
  },
}
SCSS
$custom: #3e32aa;
$custom-light: #816bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e32aa",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 246,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41349,
    "c": 0.18253,
    "h": 279.3
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#3E32AA
secondary
#BAC276
accent
#DE4ACF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3E32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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