#3D2FA5#3D2FA5

#3D2FA5 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.180 H 280.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#3D2FA5
RGBrgb(61, 47, 165)
HSLhsl(247, 56%, 42%)
HSVhsv(247, 72%, 65%)
CMYKcmyk(63%, 71.5%, 0%, 35.3%)
CIE-LABlab(28.75, 41.02, -61.38)
CIE-LCHlch(28.75, 73.82, 303.75°)
OKLaboklab(40.34% 0.0312 -0.177)
OKLCHoklch(40.34% 0.18 280)
XYZxyz(9.7304, 5.7410, 36.1854)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FA5 #97A52F
analogous
#2F5CA5 #3D2FA5 #782FA5
triadic
#3D2FA5 #A53D2F #2FA53D
tetradic
#3D2FA5 #A52F5C #97A52F #2FA578
square
#3D2FA5 #A52F5C #97A52F #2FA578
split-complementary
#3D2FA5 #A5782F #5CA52F
monochromatic
#1A1446 #2B2175 #3D2FA5 #5647CB #8276D8

Accessibility & contrast

On white

9.77
#3D2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D2FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2FA5
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FA5#FFFFFF#000000##FFFFFF
##3D2FA51.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d2fa5;
/* rgb */ color: rgb(61, 47, 165);
/* oklch */ color: oklch(40.3% 0.180 280.0);
Tailwind
colors: {
  custom: {
    50: '#7f69c1',
    500: '#3d2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fa5;
$custom-light: #7f69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fa5",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 247.119,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40343,
    "c": 0.17976,
    "h": 280
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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