#3D409D#3D409D

#3D409D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.148 H 276.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3D409D
RGBrgb(61, 64, 157)
HSLhsl(238, 44%, 43%)
HSVhsv(238, 61%, 62%)
CMYKcmyk(61.1%, 59.2%, 0%, 38.4%)
CIE-LABlab(32.02, 27.82, -51.20)
CIE-LCHlch(32.02, 58.28, 298.52°)
OKLaboklab(42.51% 0.0172 -0.1471)
OKLCHoklch(42.51% 0.148 276.7)
XYZxyz(9.8417, 7.0925, 32.7421)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D409D #9D9A3D
analogous
#3D709D #3D409D #6A3D9D
triadic
#3D409D #9D3D40 #409D3D
tetradic
#3D409D #9D3D70 #9D9A3D #3D9D6A
square
#3D409D #9D3D70 #9D9A3D #3D9D6A
split-complementary
#3D409D #9D6A3D #709D3D
monochromatic
#1B1C45 #2C2E71 #3D409D #595CBE #8587D0

Accessibility & contrast

On white

8.68
#3D409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3D409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D409D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D409D#FFFFFF#000000##FFFFFF
##3D409D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d409d;
/* rgb */ color: rgb(61, 64, 157);
/* oklch */ color: oklch(42.5% 0.148 276.7);
Tailwind
colors: {
  custom: {
    50: '#7c75bb',
    500: '#3d409d',
    950: '#000000',
  },
}
SCSS
$custom: #3d409d;
$custom-light: #7c75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d409d",
  "rgb": {
    "r": 61,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 238.125,
    "s": 44.037,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42509,
    "c": 0.14812,
    "h": 276.7
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#3D409D
secondary
#BAB87C
accent
#D054D4
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3D409D

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

Preview Lab → · Contrast checker → · Palette generator →

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