#3D2BAA#3D2BAA

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

Color values

HEX#3D2BAA
RGBrgb(61, 43, 170)
HSLhsl(249, 60%, 42%)
HSVhsv(249, 75%, 67%)
CMYKcmyk(64.1%, 74.7%, 0%, 33.3%)
CIE-LABlab(28.44, 44.83, -64.91)
CIE-LCHlch(28.44, 78.89, 304.63°)
OKLaboklab(40.27% 0.033 -0.1873)
OKLCHoklch(40.27% 0.19 280)
XYZxyz(10.0417, 5.6214, 38.5783)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2BAA #98AA2B
analogous
#2B59AA #3D2BAA #7D2BAA
triadic
#3D2BAA #AA3D2B #2BAA3D
tetradic
#3D2BAA #AA2B59 #98AA2B #2BAA7D
square
#3D2BAA #AA2B59 #98AA2B #2BAA7D
split-complementary
#3D2BAA #AA7D2B #59AA2B
monochromatic
#1A1248 #2B1F79 #3D2BAA #5743CF #8274DC

Accessibility & contrast

On white

9.89
#3D2BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2BAA
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2BAA#FFFFFF#000000##FFFFFF
##3D2BAA1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d2baa;
/* rgb */ color: rgb(61, 43, 170);
/* oklch */ color: oklch(40.3% 0.190 280.0);
Tailwind
colors: {
  custom: {
    50: '#8167c4',
    500: '#3d2baa',
    950: '#000000',
  },
}
SCSS
$custom: #3d2baa;
$custom-light: #8167c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2baa",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 248.504,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.1902,
    "h": 280
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#3D2BAA
secondary
#B7C36E
accent
#E345CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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