#3D2CA7#3D2CA7

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

Color values

HEX#3D2CA7
RGBrgb(61, 44, 167)
HSLhsl(248, 58%, 41%)
HSVhsv(248, 74%, 65%)
CMYKcmyk(63.5%, 73.7%, 0%, 34.5%)
CIE-LABlab(28.33, 43.35, -63.27)
CIE-LCHlch(28.33, 76.69, 304.42°)
OKLaboklab(40.11% 0.033 -0.1825)
OKLCHoklch(40.11% 0.186 280.2)
XYZxyz(9.7980, 5.5827, 37.1130)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2CA7 #96A72C
analogous
#2C59A7 #3D2CA7 #7B2CA7
triadic
#3D2CA7 #A73D2C #2CA73D
tetradic
#3D2CA7 #A72C59 #96A72C #2CA77B
square
#3D2CA7 #A72C59 #96A72C #2CA77B
split-complementary
#3D2CA7 #A77B2C #59A72C
monochromatic
#1A1246 #2B1F77 #3D2CA7 #5643CD #8173DA

Accessibility & contrast

On white

9.92
#3D2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3D2CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2CA7
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2CA7#FFFFFF#000000##FFFFFF
##3D2CA71.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d2ca7;
/* rgb */ color: rgb(61, 44, 167);
/* oklch */ color: oklch(40.1% 0.185 280.2);
Tailwind
colors: {
  custom: {
    50: '#8067c2',
    500: '#3d2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #3d2ca7;
$custom-light: #8067c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2ca7",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 248.293,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40106,
    "c": 0.1855,
    "h": 280.2
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#3D2CA7
secondary
#B6C26D
accent
#E246CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3D2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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