#3E31BD#3E31BD

#3E31BD is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.207 H 277.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3E31BD
RGBrgb(62, 49, 189)
HSLhsl(246, 59%, 47%)
HSVhsv(246, 74%, 74%)
CMYKcmyk(67.2%, 74.1%, 0%, 25.9%)
CIE-LABlab(31.56, 47.66, -71.07)
CIE-LCHlch(31.56, 85.57, 303.85°)
OKLaboklab(43.07% 0.0265 -0.2053)
OKLCHoklch(43.07% 0.207 277.3)
XYZxyz(12.2672, 6.8938, 48.8184)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E31BD #B0BD31
analogous
#316ABD #3E31BD #8431BD
triadic
#3E31BD #BD3E31 #31BD3E
tetradic
#3E31BD #BD316A #B0BD31 #31BD84
square
#3E31BD #BD316A #B0BD31 #31BD84
split-complementary
#3E31BD #BD8431 #6ABD31
monochromatic
#1E185C #2E248C #3E31BD #6358D4 #9088E0

Accessibility & contrast

On white

8.83
#3E31BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3E31BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E31BD
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E31BD#FFFFFF#000000##FFFFFF
##3E31BD1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0044BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e31bd;
/* rgb */ color: rgb(62, 49, 189);
/* oklch */ color: oklch(43.1% 0.207 277.3);
Tailwind
colors: {
  custom: {
    50: '#856cd2',
    500: '#3e31bd',
    950: '#000000',
  },
}
SCSS
$custom: #3e31bd;
$custom-light: #856cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e31bd",
  "rgb": {
    "r": 62,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 245.571,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43069,
    "c": 0.20701,
    "h": 277.3
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#3E31BD
secondary
#C3CA80
accent
#E246D4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3E31BD

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

Preview Lab → · Contrast checker → · Palette generator →

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