#3D2AAB#3D2AAB

#3D2AAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.192 H 280.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3D2AAB
RGBrgb(61, 42, 171)
HSLhsl(249, 61%, 42%)
HSVhsv(249, 75%, 67%)
CMYKcmyk(64.3%, 75.4%, 0%, 32.9%)
CIE-LABlab(28.35, 45.68, -65.66)
CIE-LCHlch(28.35, 79.99, 304.83°)
OKLaboklab(40.24% 0.0334 -0.1895)
OKLCHoklch(40.24% 0.192 280)
XYZxyz(10.1008, 5.5875, 39.0664)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2AAB #98AB2A
analogous
#2A58AB #3D2AAB #7E2AAB
triadic
#3D2AAB #AB3D2A #2AAB3D
tetradic
#3D2AAB #AB2A58 #98AB2A #2AAB7E
square
#3D2AAB #AB2A58 #98AB2A #2AAB7E
split-complementary
#3D2AAB #AB7E2A #58AB2A
monochromatic
#1A1249 #2B1E7A #3D2AAB #5742D1 #8273DD

Accessibility & contrast

On white

9.92
#3D2AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3D2AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2AAB
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2AAB#FFFFFF#000000##FFFFFF
##3D2AAB1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d2aab;
/* rgb */ color: rgb(61, 42, 171);
/* oklch */ color: oklch(40.2% 0.192 280.0);
Tailwind
colors: {
  custom: {
    50: '#8166c5',
    500: '#3d2aab',
    950: '#000000',
  },
}
SCSS
$custom: #3d2aab;
$custom-light: #8166c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2aab",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 248.837,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40235,
    "c": 0.19241,
    "h": 280
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#3D2AAB
secondary
#B7C46D
accent
#E444CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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