#3D2D9E#3D2D9E

#3D2D9E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.173 H 281.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3D2D9E
RGBrgb(61, 45, 158)
HSLhsl(248, 56%, 40%)
HSVhsv(248, 72%, 62%)
CMYKcmyk(61.4%, 71.5%, 0%, 38%)
CIE-LABlab(27.67, 39.92, -58.90)
CIE-LCHlch(27.67, 71.16, 304.13°)
OKLaboklab(39.37% 0.0341 -0.1698)
OKLCHoklch(39.37% 0.173 281.3)
XYZxyz(9.0325, 5.3369, 32.8953)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D9E #8E9E2D
analogous
#2D559E #3D2D9E #762D9E
triadic
#3D2D9E #9E3D2D #2D9E3D
tetradic
#3D2D9E #9E2D55 #8E9E2D #2D9E76
square
#3D2D9E #9E2D55 #8E9E2D #2D9E76
split-complementary
#3D2D9E #9E762D #559E2D
monochromatic
#18123F #2B1F6E #3D2D9E #5340C9 #7E6FD6

Accessibility & contrast

On white

10.16
#3D2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3D2D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D9E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D9E#FFFFFF#000000##FFFFFF
##3D2D9E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.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: #3d2d9e;
/* rgb */ color: rgb(61, 45, 158);
/* oklch */ color: oklch(39.4% 0.173 281.3);
Tailwind
colors: {
  custom: {
    50: '#7e68bc',
    500: '#3d2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d9e;
$custom-light: #7e68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d9e",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 248.496,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.17315,
    "h": 281.3
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#3D2D9E
secondary
#B1BD69
accent
#DF49CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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