#3D2AB1#3D2AB1

#3D2AB1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.8% C 0.200 H 279.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#3D2AB1
RGBrgb(61, 42, 177)
HSLhsl(248, 62%, 43%)
HSVhsv(248, 76%, 69%)
CMYKcmyk(65.5%, 76.3%, 0%, 30.6%)
CIE-LABlab(28.96, 47.54, -68.24)
CIE-LCHlch(28.96, 83.17, 304.86°)
OKLaboklab(40.85% 0.032 -0.197)
OKLCHoklch(40.85% 0.2 279.2)
XYZxyz(10.6857, 5.8215, 42.1470)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2AB1 #9EB12A
analogous
#2A5BB1 #3D2AB1 #802AB1
triadic
#3D2AB1 #B13D2A #2AB13D
tetradic
#3D2AB1 #B12A5B #9EB12A #2AB180
square
#3D2AB1 #B12A5B #9EB12A #2AB180
split-complementary
#3D2AB1 #B1802A #5BB12A
monochromatic
#1B134E #2C1E80 #3D2AB1 #5945D3 #8577DF

Accessibility & contrast

On white

9.70
#3D2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3D2AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2AB1
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2AB1#FFFFFF#000000##FFFFFF
##3D2AB11.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d2ab1;
/* rgb */ color: rgb(61, 42, 177);
/* oklch */ color: oklch(40.8% 0.200 279.2);
Tailwind
colors: {
  custom: {
    50: '#8267ca',
    500: '#3d2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #3d2ab1;
$custom-light: #8267ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2ab1",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 248.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40847,
    "c": 0.19962,
    "h": 279.2
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#3D2AB1
secondary
#BAC670
accent
#E543CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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