#3D2FA7#3D2FA7

#3D2FA7 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.182 H 279.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3D2FA7
RGBrgb(61, 47, 167)
HSLhsl(247, 56%, 42%)
HSVhsv(247, 72%, 65%)
CMYKcmyk(63.5%, 71.9%, 0%, 34.5%)
CIE-LABlab(28.94, 41.66, -62.27)
CIE-LCHlch(28.94, 74.92, 303.78°)
OKLaboklab(40.54% 0.0309 -0.1796)
OKLCHoklch(40.54% 0.182 279.7)
XYZxyz(9.9138, 5.8144, 37.1516)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FA7 #99A72F
analogous
#2F5DA7 #3D2FA7 #792FA7
triadic
#3D2FA7 #A73D2F #2FA73D
tetradic
#3D2FA7 #A72F5D #99A72F #2FA779
square
#3D2FA7 #A72F5D #99A72F #2FA779
split-complementary
#3D2FA7 #A7792F #5DA72F
monochromatic
#1A1447 #2C2277 #3D2FA7 #5748CB #8378D9

Accessibility & contrast

On white

9.71
#3D2FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2FA7
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FA7#FFFFFF#000000##FFFFFF
##3D2FA71.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d2fa7;
/* rgb */ color: rgb(61, 47, 167);
/* oklch */ color: oklch(40.5% 0.182 279.7);
Tailwind
colors: {
  custom: {
    50: '#8069c2',
    500: '#3d2fa7',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fa7;
$custom-light: #8069c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fa7",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 247,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40536,
    "c": 0.18227,
    "h": 279.7
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#3D2FA7
secondary
#B8C171
accent
#DF48CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3D2FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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