#3D419E#3D419E

#3D419E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.148 H 276.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3D419E
RGBrgb(61, 65, 158)
HSLhsl(238, 44%, 43%)
HSVhsv(238, 61%, 62%)
CMYKcmyk(61.4%, 58.9%, 0%, 38%)
CIE-LABlab(32.35, 27.52, -51.27)
CIE-LCHlch(32.35, 58.19, 298.23°)
OKLaboklab(42.78% 0.0162 -0.1473)
OKLCHoklch(42.78% 0.148 276.3)
XYZxyz(9.9843, 7.2405, 33.2125)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D419E #9E9A3D
analogous
#3D719E #3D419E #693D9E
triadic
#3D419E #9E3D41 #419E3D
tetradic
#3D419E #9E3D71 #9E9A3D #3D9E69
square
#3D419E #9E3D71 #9E9A3D #3D9E69
split-complementary
#3D419E #9E693D #719E3D
monochromatic
#1B1D46 #2C2F72 #3D419E #595DBF #8588D0

Accessibility & contrast

On white

8.58
#3D419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3D419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D419E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D419E#FFFFFF#000000##FFFFFF
##3D419E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3d419e;
/* rgb */ color: rgb(61, 65, 158);
/* oklch */ color: oklch(42.8% 0.148 276.3);
Tailwind
colors: {
  custom: {
    50: '#7d75bb',
    500: '#3d419e',
    950: '#000000',
  },
}
SCSS
$custom: #3d419e;
$custom-light: #7d75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d419e",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 237.526,
    "s": 44.292,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.14819,
    "h": 276.3
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D419E

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

Preview Lab → · Contrast checker → · Palette generator →

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