#3D409C#3D409C

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

Color values

HEX#3D409C
RGBrgb(61, 64, 156)
HSLhsl(238, 44%, 43%)
HSVhsv(238, 61%, 61%)
CMYKcmyk(60.9%, 59%, 0%, 38.8%)
CIE-LABlab(31.94, 27.48, -50.72)
CIE-LCHlch(31.94, 57.69, 298.44°)
OKLaboklab(42.43% 0.0172 -0.1457)
OKLCHoklch(42.43% 0.147 276.7)
XYZxyz(9.7567, 7.0585, 32.2943)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D409C #9C993D
analogous
#3D709C #3D409C #693D9C
triadic
#3D409C #9C3D40 #409C3D
tetradic
#3D409C #9C3D70 #9C993D #3D9C69
square
#3D409C #9C3D70 #9C993D #3D9C69
split-complementary
#3D409C #9C693D #709C3D
monochromatic
#1B1C44 #2C2E70 #3D409C #585CBE #8487CF

Accessibility & contrast

On white

8.71
#3D409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3D409C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D409C
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D409C#FFFFFF#000000##FFFFFF
##3D409C1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d409c;
/* rgb */ color: rgb(61, 64, 156);
/* oklch */ color: oklch(42.4% 0.147 276.7);
Tailwind
colors: {
  custom: {
    50: '#7c75ba',
    500: '#3d409c',
    950: '#000000',
  },
}
SCSS
$custom: #3d409c;
$custom-light: #7c75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d409c",
  "rgb": {
    "r": 61,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 238.105,
    "s": 43.779,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42428,
    "c": 0.14671,
    "h": 276.7
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D409C

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

Preview Lab → · Contrast checker → · Palette generator →

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