#3D419F#3D419F

#3D419F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.150 H 276.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#3D419F
RGBrgb(61, 65, 159)
HSLhsl(238, 45%, 43%)
HSVhsv(238, 62%, 62%)
CMYKcmyk(61.6%, 59.1%, 0%, 37.6%)
CIE-LABlab(32.43, 27.87, -51.75)
CIE-LCHlch(32.43, 58.78, 298.30°)
OKLaboklab(42.86% 0.0162 -0.1487)
OKLCHoklch(42.86% 0.15 276.2)
XYZxyz(10.0707, 7.2751, 33.6677)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D419F #9F9B3D
analogous
#3D729F #3D419F #6A3D9F
triadic
#3D419F #9F3D41 #419F3D
tetradic
#3D419F #9F3D72 #9F9B3D #3D9F6A
square
#3D419F #9F3D72 #9F9B3D #3D9F6A
split-complementary
#3D419F #9F6A3D #729F3D
monochromatic
#1B1D47 #2C2F73 #3D419F #5A5EC0 #8689D1

Accessibility & contrast

On white

8.55
#3D419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3D419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D419F
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D419F#FFFFFF#000000##FFFFFF
##3D419F1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d419f;
/* rgb */ color: rgb(61, 65, 159);
/* oklch */ color: oklch(42.9% 0.150 276.2);
Tailwind
colors: {
  custom: {
    50: '#7d75bc',
    500: '#3d419f',
    950: '#000000',
  },
}
SCSS
$custom: #3d419f;
$custom-light: #7d75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d419f",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 237.551,
    "s": 44.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42861,
    "c": 0.14959,
    "h": 276.2
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#3D419F
secondary
#BBB87D
accent
#CF54D4
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D419F

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

Preview Lab → · Contrast checker → · Palette generator →

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