#3D2DB7#3D2DB7

#3D2DB7 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.204 H 278.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3D2DB7
RGBrgb(61, 45, 183)
HSLhsl(247, 61%, 45%)
HSVhsv(247, 75%, 72%)
CMYKcmyk(66.7%, 75.4%, 0%, 28.2%)
CIE-LABlab(30.12, 47.82, -69.89)
CIE-LCHlch(30.12, 84.69, 304.38°)
OKLaboklab(41.85% 0.0288 -0.2019)
OKLCHoklch(41.85% 0.204 278.1)
XYZxyz(11.4073, 6.2868, 45.4029)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2DB7 #A7B72D
analogous
#2D62B7 #3D2DB7 #822DB7
triadic
#3D2DB7 #B73D2D #2DB73D
tetradic
#3D2DB7 #B72D62 #A7B72D #2DB782
square
#3D2DB7 #B72D62 #A7B72D #2DB782
split-complementary
#3D2DB7 #B7822D #62B72D
monochromatic
#1C1555 #2D2186 #3D2DB7 #5D4ED3 #8A7FDF

Accessibility & contrast

On white

9.30
#3D2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3D2DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2DB7
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2DB7#FFFFFF#000000##FFFFFF
##3D2DB71.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d2db7;
/* rgb */ color: rgb(61, 45, 183);
/* oklch */ color: oklch(41.9% 0.204 278.1);
Tailwind
colors: {
  custom: {
    50: '#8369ce',
    500: '#3d2db7',
    950: '#000000',
  },
}
SCSS
$custom: #3d2db7;
$custom-light: #8369ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2db7",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 246.957,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41852,
    "c": 0.20392,
    "h": 278.1
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#3D2DB7
secondary
#BFC878
accent
#E444D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3D2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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