#3D3C8A#3D3C8A

#3D3C8A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.126 H 279.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#3D3C8A
RGBrgb(61, 60, 138)
HSLhsl(241, 39%, 39%)
HSVhsv(241, 57%, 54%)
CMYKcmyk(55.8%, 56.5%, 0%, 45.9%)
CIE-LABlab(29.56, 23.89, -43.56)
CIE-LCHlch(29.56, 49.68, 298.75°)
OKLaboklab(40.23% 0.0212 -0.1247)
OKLCHoklch(40.23% 0.126 279.7)
XYZxyz(8.1263, 6.0583, 24.7810)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3C8A #898A3C
analogous
#3C628A #3D3C8A #643C8A
triadic
#3D3C8A #8A3D3C #3C8A3D
tetradic
#3D3C8A #8A3C62 #898A3C #3C8A64
square
#3D3C8A #8A3C62 #898A3C #3C8A64
split-complementary
#3D3C8A #8A643C #628A3C
monochromatic
#171735 #2A295F #3D3C8A #5150B3 #7C7BC6

Accessibility & contrast

On white

9.49
#3D3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3D3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3C8A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3C8A#FFFFFF#000000##FFFFFF
##3D3C8A1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#194E5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d3c8a;
/* rgb */ color: rgb(61, 60, 138);
/* oklch */ color: oklch(40.2% 0.126 279.7);
Tailwind
colors: {
  custom: {
    50: '#7971ad',
    500: '#3d3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3d3c8a;
$custom-light: #7971ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3c8a",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 240.769,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.12645,
    "h": 279.7
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#3D3C8A
secondary
#AEAF73
accent
#CF59CE
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3D3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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