#3D3D79#3D3D79

#3D3D79 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.2% C 0.099 H 280.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3D3D79
RGBrgb(61, 61, 121)
HSLhsl(240, 33%, 36%)
HSVhsv(240, 50%, 47%)
CMYKcmyk(49.6%, 49.6%, 0%, 52.5%)
CIE-LABlab(28.67, 17.48, -34.39)
CIE-LCHlch(28.67, 38.58, 296.95°)
OKLaboklab(39.19% 0.0186 -0.0977)
OKLCHoklch(39.19% 0.099 280.8)
XYZxyz(7.0434, 5.7097, 18.8164)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3D79 #79793D
analogous
#3D5B79 #3D3D79 #5B3D79
triadic
#3D3D79 #793D3D #3D793D
tetradic
#3D3D79 #793D5B #79793D #3D795B
square
#3D3D79 #793D5B #79793D #3D795B
split-complementary
#3D3D79 #795B3D #5B793D
monochromatic
#141428 #282850 #3D3D79 #5252A2 #7676BA

Accessibility & contrast

On white

9.80
#3D3D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3D3D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3D79
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3D79#FFFFFF#000000##FFFFFF
##3D3D791.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467B
Deuteranopia (green-blind)
#1F4178
Tritanopia (blue-blind)
#284A55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d3d79;
/* rgb */ color: rgb(61, 61, 121);
/* oklch */ color: oklch(39.2% 0.099 280.8);
Tailwind
colors: {
  custom: {
    50: '#7772a0',
    500: '#3d3d79',
    950: '#000000',
  },
}
SCSS
$custom: #3d3d79;
$custom-light: #7772a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3d79",
  "rgb": {
    "r": 61,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 240,
    "s": 32.967,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.09945,
    "h": 280.8
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#3D3D79
secondary
#A4A46E
accent
#C95FC9
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09080F
muted
#7B7B7E

Preview Lab

Preview with #3D3D79

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

Preview Lab → · Contrast checker → · Palette generator →

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