#3E32B7#3E32B7

#3E32B7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.6% C 0.199 H 277.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3E32B7
RGBrgb(62, 50, 183)
HSLhsl(245, 57%, 46%)
HSVhsv(245, 73%, 72%)
CMYKcmyk(66.1%, 72.7%, 0%, 28.2%)
CIE-LABlab(31.17, 45.21, -68.17)
CIE-LCHlch(31.17, 81.80, 303.55°)
OKLaboklab(42.61% 0.0271 -0.1969)
OKLCHoklch(42.61% 0.199 277.8)
XYZxyz(11.6717, 6.7232, 45.4732)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E32B7 #ABB732
analogous
#3268B7 #3E32B7 #8132B7
triadic
#3E32B7 #B73E32 #32B73E
tetradic
#3E32B7 #B73268 #ABB732 #32B781
square
#3E32B7 #B73268 #ABB732 #32B781
split-complementary
#3E32B7 #B78132 #68B732
monochromatic
#1D1857 #2E2587 #3E32B7 #6156D1 #8E86DE

Accessibility & contrast

On white

8.96
#3E32B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3E32B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E32B7
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E32B7#FFFFFF#000000##FFFFFF
##3E32B71.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3e32b7;
/* rgb */ color: rgb(62, 50, 183);
/* oklch */ color: oklch(42.6% 0.199 277.8);
Tailwind
colors: {
  custom: {
    50: '#836cce',
    500: '#3e32b7',
    950: '#000000',
  },
}
SCSS
$custom: #3e32b7;
$custom-light: #836cce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e32b7",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 245.414,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4261,
    "c": 0.19871,
    "h": 277.8
  },
  "luminance": 0.06724
}

Semantic roles & 50–950 ramp

primary
#3E32B7
secondary
#C1C77D
accent
#E047D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3E32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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