#3D2B9C#3D2B9C

#3D2B9C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.173 H 282.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3D2B9C
RGBrgb(61, 43, 156)
HSLhsl(250, 57%, 39%)
HSVhsv(250, 72%, 61%)
CMYKcmyk(60.9%, 72.4%, 0%, 38.8%)
CIE-LABlab(27.07, 40.43, -58.67)
CIE-LCHlch(27.07, 71.25, 304.57°)
OKLaboklab(38.89% 0.036 -0.1691)
OKLCHoklch(38.89% 0.173 282)
XYZxyz(8.7872, 5.1195, 31.9712)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B9C #8A9C2B
analogous
#2B519C #3D2B9C #762B9C
triadic
#3D2B9C #9C3D2B #2B9C3D
tetradic
#3D2B9C #9C2B51 #8A9C2B #2B9C76
square
#3D2B9C #9C2B51 #8A9C2B #2B9C76
split-complementary
#3D2B9C #9C762B #519C2B
monochromatic
#17113C #2A1E6C #3D2B9C #523BC9 #7C6BD6

Accessibility & contrast

On white

10.38
#3D2B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3D2B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B9C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B9C#FFFFFF#000000##FFFFFF
##3D2B9C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d2b9c;
/* rgb */ color: rgb(61, 43, 156);
/* oklch */ color: oklch(38.9% 0.173 282.0);
Tailwind
colors: {
  custom: {
    50: '#7e66ba',
    500: '#3d2b9c',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b9c;
$custom-light: #7e66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b9c",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 249.558,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38887,
    "c": 0.17288,
    "h": 282
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#3D2B9C
secondary
#AFBD66
accent
#E048C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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