#3D2D9F#3D2D9F

#3D2D9F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.174 H 281.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3D2D9F
RGBrgb(61, 45, 159)
HSLhsl(248, 56%, 40%)
HSVhsv(248, 72%, 62%)
CMYKcmyk(61.6%, 71.7%, 0%, 37.6%)
CIE-LABlab(27.77, 40.24, -59.36)
CIE-LCHlch(27.77, 71.71, 304.14°)
OKLaboklab(39.47% 0.0339 -0.1711)
OKLCHoklch(39.47% 0.174 281.2)
XYZxyz(9.1189, 5.3714, 33.3504)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D9F #8F9F2D
analogous
#2D569F #3D2D9F #762D9F
triadic
#3D2D9F #9F3D2D #2D9F3D
tetradic
#3D2D9F #9F2D56 #8F9F2D #2D9F76
square
#3D2D9F #9F2D56 #8F9F2D #2D9F76
split-complementary
#3D2D9F #9F762D #569F2D
monochromatic
#181240 #2B206F #3D2D9F #5340C9 #7E70D6

Accessibility & contrast

On white

10.12
#3D2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2D9F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D9F#FFFFFF#000000##FFFFFF
##3D2D9F1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d2d9f;
/* rgb */ color: rgb(61, 45, 159);
/* oklch */ color: oklch(39.5% 0.174 281.2);
Tailwind
colors: {
  custom: {
    50: '#7e68bc',
    500: '#3d2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d9f;
$custom-light: #7e68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d9f",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 248.421,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.39469,
    "c": 0.17442,
    "h": 281.2
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#3D2D9F
secondary
#B2BE6A
accent
#DF49CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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