#3D4E84#3D4E84

#3D4E84 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.092 H 269.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3D4E84
RGBrgb(61, 78, 132)
HSLhsl(226, 37%, 38%)
HSVhsv(226, 54%, 52%)
CMYKcmyk(53.8%, 40.9%, 0%, 48.2%)
CIE-LABlab(34.20, 9.91, -32.43)
CIE-LCHlch(34.20, 33.91, 286.99°)
OKLaboklab(43.63% -0.0013 -0.0918)
OKLCHoklch(43.63% 0.092 269.2)
XYZxyz(8.8124, 8.1062, 22.9256)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4E84 #84733D
analogous
#3D7184 #3D4E84 #4F3D84
triadic
#3D4E84 #843D4E #4E843D
tetradic
#3D4E84 #843D71 #84733D #3D844F
square
#3D4E84 #843D71 #84733D #3D844F
split-complementary
#3D4E84 #844F3D #71843D
monochromatic
#161D30 #2A355A #3D4E84 #5067AE #7A8BC1

Accessibility & contrast

On white

8.01
#3D4E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3D4E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4E84
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4E84#FFFFFF#000000##FFFFFF
##3D4E841.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385486
Deuteranopia (green-blind)
#304E83
Tritanopia (blue-blind)
#1C5A62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d4e84;
/* rgb */ color: rgb(61, 78, 132);
/* oklch */ color: oklch(43.6% 0.092 269.2);
Tailwind
colors: {
  custom: {
    50: '#787fa8',
    500: '#3d4e84',
    950: '#000000',
  },
}
SCSS
$custom: #3d4e84;
$custom-light: #787fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4e84",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 132
  },
  "hsl": {
    "h": 225.634,
    "s": 36.788,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4363,
    "c": 0.09182,
    "h": 269.2
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#3D4E84
secondary
#AB9E71
accent
#B25BCD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #3D4E84

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

Preview Lab → · Contrast checker → · Palette generator →

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