#3D3C8D#3D3C8D

#3D3C8D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.131 H 279.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#3D3C8D
RGBrgb(61, 60, 141)
HSLhsl(241, 40%, 39%)
HSVhsv(241, 57%, 55%)
CMYKcmyk(56.7%, 57.4%, 0%, 44.7%)
CIE-LABlab(29.78, 24.92, -45.06)
CIE-LCHlch(29.78, 51.49, 298.95°)
OKLaboklab(40.47% 0.0213 -0.1291)
OKLCHoklch(40.47% 0.131 279.4)
XYZxyz(8.3465, 6.1464, 25.9407)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D3C8D #8C8D3C
analogous
#3C648D #3D3C8D #663C8D
triadic
#3D3C8D #8D3D3C #3C8D3D
tetradic
#3D3C8D #8D3C64 #8C8D3C #3C8D66
square
#3D3C8D #8D3C64 #8C8D3C #3C8D66
split-complementary
#3D3C8D #8D663C #648D3C
monochromatic
#181737 #2A2A62 #3D3C8D #5251B5 #7D7CC7

Accessibility & contrast

On white

9.42
#3D3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3D3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D3C8D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D3C8D#FFFFFF#000000##FFFFFF
##3D3C8D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#154F5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d3c8d;
/* rgb */ color: rgb(61, 60, 141);
/* oklch */ color: oklch(40.5% 0.131 279.4);
Tailwind
colors: {
  custom: {
    50: '#7a71af',
    500: '#3d3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #3d3c8d;
$custom-light: #7a71af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d3c8d",
  "rgb": {
    "r": 61,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 240.741,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40466,
    "c": 0.1308,
    "h": 279.4
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#3D3C8D
secondary
#B0B174
accent
#D058CF
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3D3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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