#3D3C79#3D3C79

#3D3C79 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 39.0% C 0.101 H 281.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3D3C79
RGBrgb(61, 60, 121)
HSLhsl(241, 34%, 35%)
HSVhsv(241, 50%, 47%)
CMYKcmyk(49.6%, 50.4%, 0%, 52.5%)
CIE-LABlab(28.39, 18.15, -34.83)
CIE-LCHlch(28.39, 39.28, 297.52°)
OKLaboklab(38.98% 0.0199 -0.099)
OKLCHoklch(38.98% 0.101 281.4)
XYZxyz(6.9905, 5.6039, 18.7988)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3C79 #78793C
analogous
#3C5979 #3D3C79 #5B3C79
triadic
#3D3C79 #793D3C #3C793D
tetradic
#3D3C79 #793C59 #78793C #3C795B
square
#3D3C79 #793C59 #78793C #3C795B
split-complementary
#3D3C79 #795B3C #59793C
monochromatic
#141327 #282850 #3D3C79 #5250A2 #7675BB

Accessibility & contrast

On white

9.90
#3D3C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D3C79
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3C79#FFFFFF#000000##FFFFFF
##3D3C791.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#1D4178
Tritanopia (blue-blind)
#284954
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d3c79;
/* rgb */ color: rgb(61, 60, 121);
/* oklch */ color: oklch(39.0% 0.101 281.4);
Tailwind
colors: {
  custom: {
    50: '#7771a0',
    500: '#3d3c79',
    950: '#000000',
  },
}
SCSS
$custom: #3d3c79;
$custom-light: #7771a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3c79",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 240.984,
    "s": 33.702,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.10099,
    "h": 281.4
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#3D3C79
secondary
#A3A46C
accent
#CA5EC8
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #3D3C79

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

Preview Lab → · Contrast checker → · Palette generator →

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