#3D2FA3#3D2FA3

#3D2FA3 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.177 H 280.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3D2FA3
RGBrgb(61, 47, 163)
HSLhsl(247, 55%, 41%)
HSVhsv(247, 71%, 64%)
CMYKcmyk(62.6%, 71.2%, 0%, 36.1%)
CIE-LABlab(28.56, 40.37, -60.48)
CIE-LCHlch(28.56, 72.72, 303.72°)
OKLaboklab(40.15% 0.0316 -0.1744)
OKLCHoklch(40.15% 0.177 280.3)
XYZxyz(9.5497, 5.6688, 35.2342)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FA3 #95A32F
analogous
#2F5BA3 #3D2FA3 #772FA3
triadic
#3D2FA3 #A33D2F #2FA33D
tetradic
#3D2FA3 #A32F5B #95A32F #2FA377
square
#3D2FA3 #A32F5B #95A32F #2FA377
split-complementary
#3D2FA3 #A3772F #5BA32F
monochromatic
#191444 #2B2173 #3D2FA3 #5646CA #8175D7

Accessibility & contrast

On white

9.84
#3D2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2FA3
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FA3#FFFFFF#000000##FFFFFF
##3D2FA31.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d2fa3;
/* rgb */ color: rgb(61, 47, 163);
/* oklch */ color: oklch(40.2% 0.177 280.3);
Tailwind
colors: {
  custom: {
    50: '#7f69bf',
    500: '#3d2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fa3;
$custom-light: #7f69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fa3",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 247.241,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40151,
    "c": 0.17723,
    "h": 280.3
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#3D2FA3
secondary
#B5BF6F
accent
#DF49CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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