#3D2B9F#3D2B9F

#3D2B9F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.177 H 281.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3D2B9F
RGBrgb(61, 43, 159)
HSLhsl(249, 57%, 40%)
HSVhsv(249, 73%, 62%)
CMYKcmyk(61.6%, 73%, 0%, 37.6%)
CIE-LABlab(27.36, 41.38, -60.03)
CIE-LCHlch(27.36, 72.91, 304.58°)
OKLaboklab(39.18% 0.0354 -0.173)
OKLCHoklch(39.18% 0.177 281.6)
XYZxyz(9.0444, 5.2224, 33.3256)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B9F #8D9F2B
analogous
#2B539F #3D2B9F #772B9F
triadic
#3D2B9F #9F3D2B #2B9F3D
tetradic
#3D2B9F #9F2B53 #8D9F2B #2B9F77
square
#3D2B9F #9F2B53 #8D9F2B #2B9F77
split-complementary
#3D2B9F #9F772B #539F2B
monochromatic
#18113F #2B1E6F #3D2B9F #533DCA #7D6DD7

Accessibility & contrast

On white

10.27
#3D2B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3D2B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B9F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B9F#FFFFFF#000000##FFFFFF
##3D2B9F1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d2b9f;
/* rgb */ color: rgb(61, 43, 159);
/* oklch */ color: oklch(39.2% 0.177 281.6);
Tailwind
colors: {
  custom: {
    50: '#7f66bc',
    500: '#3d2b9f',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b9f;
$custom-light: #7f66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b9f",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 249.31,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39179,
    "c": 0.17664,
    "h": 281.6
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#3D2B9F
secondary
#B1BE67
accent
#E147C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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