#3D4E87#3D4E87

#3D4E87 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.096 H 269.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3D4E87
RGBrgb(61, 78, 135)
HSLhsl(226, 38%, 38%)
HSVhsv(226, 55%, 53%)
CMYKcmyk(54.8%, 42.2%, 0%, 47.1%)
CIE-LABlab(34.37, 10.94, -34.00)
CIE-LCHlch(34.37, 35.71, 287.84°)
OKLaboklab(43.82% -0.0007 -0.0964)
OKLCHoklch(43.82% 0.096 269.6)
XYZxyz(9.0206, 8.1895, 24.0224)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4E87 #87763D
analogous
#3D7387 #3D4E87 #513D87
triadic
#3D4E87 #873D4E #4E873D
tetradic
#3D4E87 #873D73 #87763D #3D8751
square
#3D4E87 #873D73 #87763D #3D8751
split-complementary
#3D4E87 #87513D #73873D
monochromatic
#171D33 #2A365D #3D4E87 #5167B0 #7B8CC3

Accessibility & contrast

On white

7.96
#3D4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3D4E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4E87
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4E87#FFFFFF#000000##FFFFFF
##3D4E871.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375489
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#195A64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d4e87;
/* rgb */ color: rgb(61, 78, 135);
/* oklch */ color: oklch(43.8% 0.096 269.6);
Tailwind
colors: {
  custom: {
    50: '#787faa',
    500: '#3d4e87',
    950: '#000000',
  },
}
SCSS
$custom: #3d4e87;
$custom-light: #787faa;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4e87",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 226.216,
    "s": 37.755,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43818,
    "c": 0.09641,
    "h": 269.6
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#3D4E87
secondary
#ADA073
accent
#B35ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3D4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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