#3D4872#3D4872

#3D4872 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.072 H 271.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3D4872
RGBrgb(61, 72, 114)
HSLhsl(228, 30%, 34%)
HSVhsv(228, 46%, 45%)
CMYKcmyk(46.5%, 36.8%, 0%, 55.3%)
CIE-LABlab(31.44, 7.83, -25.59)
CIE-LCHlch(31.44, 26.76, 287.01°)
OKLaboklab(41.18% 0.0022 -0.0719)
OKLCHoklch(41.18% 0.072 271.8)
XYZxyz(7.2782, 6.8413, 16.8533)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4872 #72673D
analogous
#3D6372 #3D4872 #4D3D72
triadic
#3D4872 #723D48 #48723D
tetradic
#3D4872 #723D63 #72673D #3D724D
square
#3D4872 #723D63 #72673D #3D724D
split-complementary
#3D4872 #724D3D #63723D
monochromatic
#121622 #282F4A #3D4872 #52619A #7582B5

Accessibility & contrast

On white

8.87
#3D4872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3D4872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4872
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4872#FFFFFF#000000##FFFFFF
##3D48721.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C74
Deuteranopia (green-blind)
#344871
Tritanopia (blue-blind)
#2A5157
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d4872;
/* rgb */ color: rgb(61, 72, 114);
/* oklch */ color: oklch(41.2% 0.072 271.8);
Tailwind
colors: {
  custom: {
    50: '#757a9b',
    500: '#3d4872',
    950: '#000000',
  },
}
SCSS
$custom: #3d4872;
$custom-light: #757a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4872",
  "rgb": {
    "r": 61,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 227.547,
    "s": 30.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.07194,
    "h": 271.8
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#3D4872
secondary
#9F946C
accent
#B261C7
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #3D4872

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

Preview Lab → · Contrast checker → · Palette generator →

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