#3D409E#3D409E

#3D409E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.150 H 276.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3D409E
RGBrgb(61, 64, 158)
HSLhsl(238, 44%, 43%)
HSVhsv(238, 61%, 62%)
CMYKcmyk(61.4%, 59.5%, 0%, 38%)
CIE-LABlab(32.09, 28.17, -51.68)
CIE-LCHlch(32.09, 58.86, 298.59°)
OKLaboklab(42.59% 0.0172 -0.1485)
OKLCHoklch(42.59% 0.15 276.6)
XYZxyz(9.9274, 7.1268, 33.1936)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D409E #9E9B3D
analogous
#3D719E #3D409E #6A3D9E
triadic
#3D409E #9E3D40 #409E3D
tetradic
#3D409E #9E3D71 #9E9B3D #3D9E6A
square
#3D409E #9E3D71 #9E9B3D #3D9E6A
split-complementary
#3D409E #9E6A3D #719E3D
monochromatic
#1B1C46 #2C2E72 #3D409E #595CBF #8588D0

Accessibility & contrast

On white

8.66
#3D409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D409E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D409E#FFFFFF#000000##FFFFFF
##3D409E1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d409e;
/* rgb */ color: rgb(61, 64, 158);
/* oklch */ color: oklch(42.6% 0.150 276.6);
Tailwind
colors: {
  custom: {
    50: '#7d75bb',
    500: '#3d409e',
    950: '#000000',
  },
}
SCSS
$custom: #3d409e;
$custom-light: #7d75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d409e",
  "rgb": {
    "r": 61,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 238.144,
    "s": 44.292,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.14952,
    "h": 276.6
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D409E

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

Preview Lab → · Contrast checker → · Palette generator →

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