#3D2CA9#3D2CA9

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

Color values

HEX#3D2CA9
RGBrgb(61, 44, 169)
HSLhsl(248, 59%, 42%)
HSVhsv(248, 74%, 66%)
CMYKcmyk(63.9%, 74%, 0%, 33.7%)
CIE-LABlab(28.53, 43.98, -64.15)
CIE-LCHlch(28.53, 77.78, 304.43°)
OKLaboklab(40.3% 0.0326 -0.1851)
OKLCHoklch(40.3% 0.188 280)
XYZxyz(9.9843, 5.6573, 38.0942)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2CA9 #98A92C
analogous
#2C5AA9 #3D2CA9 #7C2CA9
triadic
#3D2CA9 #A93D2C #2CA93D
tetradic
#3D2CA9 #A92C5A #98A92C #2CA97C
square
#3D2CA9 #A92C5A #98A92C #2CA97C
split-complementary
#3D2CA9 #A97C2C #5AA92C
monochromatic
#1A1348 #2B1F78 #3D2CA9 #5744CE #8274DB

Accessibility & contrast

On white

9.85
#3D2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2CA9
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2CA9#FFFFFF#000000##FFFFFF
##3D2CA91.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d2ca9;
/* rgb */ color: rgb(61, 44, 169);
/* oklch */ color: oklch(40.3% 0.188 280.0);
Tailwind
colors: {
  custom: {
    50: '#8067c4',
    500: '#3d2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #3d2ca9;
$custom-light: #8067c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2ca9",
  "rgb": {
    "r": 61,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 248.16,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.18795,
    "h": 280
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#3D2CA9
secondary
#B7C36E
accent
#E246CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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