#3D409B#3D409B

#3D409B is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.145 H 276.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3D409B
RGBrgb(61, 64, 155)
HSLhsl(238, 44%, 42%)
HSVhsv(238, 61%, 61%)
CMYKcmyk(60.6%, 58.7%, 0%, 39.2%)
CIE-LABlab(31.86, 27.13, -50.24)
CIE-LCHlch(31.86, 57.10, 298.37°)
OKLaboklab(42.35% 0.0172 -0.1443)
OKLCHoklch(42.35% 0.145 276.8)
XYZxyz(9.6724, 7.0247, 31.8502)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D409B #9B983D
analogous
#3D6F9B #3D409B #693D9B
triadic
#3D409B #9B3D40 #409B3D
tetradic
#3D409B #9B3D6F #9B983D #3D9B69
square
#3D409B #9B3D6F #9B983D #3D9B69
split-complementary
#3D409B #9B693D #6F9B3D
monochromatic
#1A1C43 #2C2E6F #3D409B #585BBD #8486CF

Accessibility & contrast

On white

8.73
#3D409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D409B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D409B#FFFFFF#000000##FFFFFF
##3D409B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d409b;
/* rgb */ color: rgb(61, 64, 155);
/* oklch */ color: oklch(42.3% 0.145 276.8);
Tailwind
colors: {
  custom: {
    50: '#7c75b9',
    500: '#3d409b',
    950: '#000000',
  },
}
SCSS
$custom: #3d409b;
$custom-light: #7c75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d409b",
  "rgb": {
    "r": 61,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 238.085,
    "s": 43.519,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42347,
    "c": 0.1453,
    "h": 276.8
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#3D409B
secondary
#B9B77B
accent
#CF55D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3D409B

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

Preview Lab → · Contrast checker → · Palette generator →

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