#3D2BAB#3D2BAB

#3D2BAB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.191 H 279.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3D2BAB
RGBrgb(61, 43, 171)
HSLhsl(248, 60%, 42%)
HSVhsv(248, 75%, 67%)
CMYKcmyk(64.3%, 74.9%, 0%, 32.9%)
CIE-LABlab(28.54, 45.15, -65.34)
CIE-LCHlch(28.54, 79.42, 304.64°)
OKLaboklab(40.37% 0.0328 -0.1886)
OKLCHoklch(40.37% 0.191 279.9)
XYZxyz(10.1367, 5.6593, 39.0784)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2BAB #99AB2B
analogous
#2B59AB #3D2BAB #7D2BAB
triadic
#3D2BAB #AB3D2B #2BAB3D
tetradic
#3D2BAB #AB2B59 #99AB2B #2BAB7D
square
#3D2BAB #AB2B59 #99AB2B #2BAB7D
split-complementary
#3D2BAB #AB7D2B #59AB2B
monochromatic
#1A1249 #2C1F7A #3D2BAB #5743D0 #8374DC

Accessibility & contrast

On white

9.85
#3D2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3D2BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2BAB
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2BAB#FFFFFF#000000##FFFFFF
##3D2BAB1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.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: #3d2bab;
/* rgb */ color: rgb(61, 43, 171);
/* oklch */ color: oklch(40.4% 0.191 279.9);
Tailwind
colors: {
  custom: {
    50: '#8167c5',
    500: '#3d2bab',
    950: '#000000',
  },
}
SCSS
$custom: #3d2bab;
$custom-light: #8167c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2bab",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 248.438,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40368,
    "c": 0.19142,
    "h": 279.9
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#3D2BAB
secondary
#B8C46E
accent
#E345CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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