#3D2FA6#3D2FA6

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

Color values

HEX#3D2FA6
RGBrgb(61, 47, 166)
HSLhsl(247, 56%, 42%)
HSVhsv(247, 72%, 65%)
CMYKcmyk(63.3%, 71.7%, 0%, 34.9%)
CIE-LABlab(28.84, 41.34, -61.83)
CIE-LCHlch(28.84, 74.37, 303.77°)
OKLaboklab(40.44% 0.031 -0.1783)
OKLCHoklch(40.44% 0.181 279.9)
XYZxyz(9.8217, 5.7776, 36.6666)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FA6 #98A62F
analogous
#2F5DA6 #3D2FA6 #792FA6
triadic
#3D2FA6 #A63D2F #2FA63D
tetradic
#3D2FA6 #A62F5D #98A62F #2FA679
square
#3D2FA6 #A62F5D #98A62F #2FA679
split-complementary
#3D2FA6 #A6792F #5DA62F
monochromatic
#1A1447 #2B2176 #3D2FA6 #5747CB #8277D8

Accessibility & contrast

On white

9.74
#3D2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3D2FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2FA6
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FA6#FFFFFF#000000##FFFFFF
##3D2FA61.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d2fa6;
/* rgb */ color: rgb(61, 47, 166);
/* oklch */ color: oklch(40.4% 0.181 279.9);
Tailwind
colors: {
  custom: {
    50: '#8069c1',
    500: '#3d2fa6',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fa6;
$custom-light: #8069c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fa6",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 247.059,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.18102,
    "h": 279.9
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#3D2FA6
secondary
#B7C170
accent
#DF49CD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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