#3D2FA2#3D2FA2

#3D2FA2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.176 H 280.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3D2FA2
RGBrgb(61, 47, 162)
HSLhsl(247, 55%, 41%)
HSVhsv(247, 71%, 64%)
CMYKcmyk(62.3%, 71%, 0%, 36.5%)
CIE-LABlab(28.47, 40.05, -60.03)
CIE-LCHlch(28.47, 72.16, 303.71°)
OKLaboklab(40.06% 0.0318 -0.1731)
OKLCHoklch(40.06% 0.176 280.4)
XYZxyz(9.4605, 5.6331, 34.7642)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FA2 #94A22F
analogous
#2F5AA2 #3D2FA2 #762FA2
triadic
#3D2FA2 #A23D2F #2FA23D
tetradic
#3D2FA2 #A22F5A #94A22F #2FA276
square
#3D2FA2 #A22F5A #94A22F #2FA276
split-complementary
#3D2FA2 #A2762F #5AA22F
monochromatic
#191343 #2B2173 #3D2FA2 #5545C9 #8175D7

Accessibility & contrast

On white

9.87
#3D2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2FA2
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FA2#FFFFFF#000000##FFFFFF
##3D2FA21.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d2fa2;
/* rgb */ color: rgb(61, 47, 162);
/* oklch */ color: oklch(40.1% 0.176 280.4);
Tailwind
colors: {
  custom: {
    50: '#7f69bf',
    500: '#3d2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fa2;
$custom-light: #7f69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fa2",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 247.304,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40055,
    "c": 0.17596,
    "h": 280.4
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#3D2FA2
secondary
#B5BF6E
accent
#DE49CC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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