#3D2CAC#3D2CAC

#3D2CAC is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.192 H 279.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3D2CAC
RGBrgb(61, 44, 172)
HSLhsl(248, 59%, 42%)
HSVhsv(248, 74%, 67%)
CMYKcmyk(64.5%, 74.4%, 0%, 32.5%)
CIE-LABlab(28.83, 44.92, -65.46)
CIE-LCHlch(28.83, 79.39, 304.46°)
OKLaboklab(40.6% 0.0319 -0.1889)
OKLCHoklch(40.6% 0.192 279.6)
XYZxyz(10.2692, 5.7712, 39.5945)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2CAC #9BAC2C
analogous
#2C5BAC #3D2CAC #7D2CAC
triadic
#3D2CAC #AC3D2C #2CAC3D
tetradic
#3D2CAC #AC2C5B #9BAC2C #2CAC7D
square
#3D2CAC #AC2C5B #9BAC2C #2CAC7D
split-complementary
#3D2CAC #AC7D2C #5BAC2C
monochromatic
#1A134B #2C207B #3D2CAC #5846D0 #8476DC

Accessibility & contrast

On white

9.75
#3D2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2CAC
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2CAC#FFFFFF#000000##FFFFFF
##3D2CAC1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d2cac;
/* rgb */ color: rgb(61, 44, 172);
/* oklch */ color: oklch(40.6% 0.192 279.6);
Tailwind
colors: {
  custom: {
    50: '#8168c6',
    500: '#3d2cac',
    950: '#000000',
  },
}
SCSS
$custom: #3d2cac;
$custom-light: #8168c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2cac",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 247.969,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.19162,
    "h": 279.6
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#3D2CAC
secondary
#B9C470
accent
#E245CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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