#3D409F#3D409F

#3D409F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.151 H 276.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3D409F
RGBrgb(61, 64, 159)
HSLhsl(238, 45%, 43%)
HSVhsv(238, 62%, 62%)
CMYKcmyk(61.6%, 59.7%, 0%, 37.6%)
CIE-LABlab(32.17, 28.52, -52.16)
CIE-LCHlch(32.17, 59.45, 298.66°)
OKLaboklab(42.67% 0.0172 -0.1499)
OKLCHoklch(42.67% 0.151 276.5)
XYZxyz(10.0138, 7.1613, 33.6487)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D409F #9F9C3D
analogous
#3D719F #3D409F #6B3D9F
triadic
#3D409F #9F3D40 #409F3D
tetradic
#3D409F #9F3D71 #9F9C3D #3D9F6B
square
#3D409F #9F3D71 #9F9C3D #3D9F6B
split-complementary
#3D409F #9F6B3D #719F3D
monochromatic
#1B1C47 #2C2E73 #3D409F #5A5DC0 #8688D1

Accessibility & contrast

On white

8.63
#3D409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3D409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D409F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D409F#FFFFFF#000000##FFFFFF
##3D409F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d409f;
/* rgb */ color: rgb(61, 64, 159);
/* oklch */ color: oklch(42.7% 0.151 276.5);
Tailwind
colors: {
  custom: {
    50: '#7d75bc',
    500: '#3d409f',
    950: '#000000',
  },
}
SCSS
$custom: #3d409f;
$custom-light: #7d75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d409f",
  "rgb": {
    "r": 61,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 238.163,
    "s": 44.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42673,
    "c": 0.15091,
    "h": 276.5
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#3D409F
secondary
#BBB97D
accent
#D054D4
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D409F

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

Preview Lab → · Contrast checker → · Palette generator →

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