#3D2AA2#3D2AA2

#3D2AA2 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.181 H 281.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#3D2AA2
RGBrgb(61, 42, 162)
HSLhsl(250, 59%, 40%)
HSVhsv(250, 74%, 64%)
CMYKcmyk(62.3%, 74.1%, 0%, 36.5%)
CIE-LABlab(27.45, 42.88, -61.70)
CIE-LCHlch(27.45, 75.13, 304.80°)
OKLaboklab(39.33% 0.0355 -0.1779)
OKLCHoklch(39.33% 0.181 281.3)
XYZxyz(9.2720, 5.2560, 34.7013)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2AA2 #8FA22A
analogous
#2A53A2 #3D2AA2 #792AA2
triadic
#3D2AA2 #A23D2A #2AA23D
tetradic
#3D2AA2 #A22A53 #8FA22A #2AA279
square
#3D2AA2 #A22A53 #8FA22A #2AA279
split-complementary
#3D2AA2 #A2792A #53A22A
monochromatic
#181141 #2B1D71 #3D2AA2 #533DCD #7E6DD9

Accessibility & contrast

On white

10.24
#3D2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3D2AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2AA2
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2AA2#FFFFFF#000000##FFFFFF
##3D2AA21.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d2aa2;
/* rgb */ color: rgb(61, 42, 162);
/* oklch */ color: oklch(39.3% 0.181 281.3);
Tailwind
colors: {
  custom: {
    50: '#7f66bf',
    500: '#3d2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #3d2aa2;
$custom-light: #7f66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2aa2",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 249.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.39333,
    "c": 0.18144,
    "h": 281.3
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#3D2AA2
secondary
#B2C068
accent
#E246C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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