#3D2C9E#3D2C9E

#3D2C9E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.174 H 281.5°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3D2C9E
RGBrgb(61, 44, 158)
HSLhsl(249, 56%, 40%)
HSVhsv(249, 72%, 62%)
CMYKcmyk(61.4%, 72.2%, 0%, 38%)
CIE-LABlab(27.47, 40.49, -59.24)
CIE-LCHlch(27.47, 71.76, 304.36°)
OKLaboklab(39.23% 0.0349 -0.1708)
OKLCHoklch(39.23% 0.174 281.5)
XYZxyz(8.9948, 5.2615, 32.8827)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2C9E #8D9E2C
analogous
#2C549E #3D2C9E #762C9E
triadic
#3D2C9E #9E3D2C #2C9E3D
tetradic
#3D2C9E #9E2C54 #8D9E2C #2C9E76
square
#3D2C9E #9E2C54 #8D9E2C #2C9E76
split-complementary
#3D2C9E #9E762C #549E2C
monochromatic
#18113E #2B1F6E #3D2C9E #533EC9 #7D6ED7

Accessibility & contrast

On white

10.23
#3D2C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3D2C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2C9E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2C9E#FFFFFF#000000##FFFFFF
##3D2C9E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d2c9e;
/* rgb */ color: rgb(61, 44, 158);
/* oklch */ color: oklch(39.2% 0.174 281.5);
Tailwind
colors: {
  custom: {
    50: '#7e67bc',
    500: '#3d2c9e',
    950: '#000000',
  },
}
SCSS
$custom: #3d2c9e;
$custom-light: #7e67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2c9e",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 248.947,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39226,
    "c": 0.17428,
    "h": 281.5
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#3D2C9E
secondary
#B1BE68
accent
#E048C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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