#3D4E89#3D4E89

#3D4E89 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.099 H 269.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3D4E89
RGBrgb(61, 78, 137)
HSLhsl(227, 38%, 39%)
HSVhsv(227, 55%, 54%)
CMYKcmyk(55.5%, 43.1%, 0%, 46.3%)
CIE-LABlab(34.49, 11.63, -35.04)
CIE-LCHlch(34.49, 36.92, 288.36°)
OKLaboklab(43.95% -0.0003 -0.0995)
OKLCHoklch(43.95% 0.099 269.8)
XYZxyz(9.1627, 8.2464, 24.7709)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4E89 #89783D
analogous
#3D7489 #3D4E89 #523D89
triadic
#3D4E89 #893D4E #4E893D
tetradic
#3D4E89 #893D74 #89783D #3D8952
square
#3D4E89 #893D74 #89783D #3D8952
split-complementary
#3D4E89 #89523D #74893D
monochromatic
#171E34 #2A365F #3D4E89 #5167B2 #7C8CC5

Accessibility & contrast

On white

7.93
#3D4E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3D4E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4E89
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4E89#FFFFFF#000000##FFFFFF
##3D4E891.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558B
Deuteranopia (green-blind)
#2C4E88
Tritanopia (blue-blind)
#165B65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d4e89;
/* rgb */ color: rgb(61, 78, 137);
/* oklch */ color: oklch(43.9% 0.099 269.8);
Tailwind
colors: {
  custom: {
    50: '#787fac',
    500: '#3d4e89',
    950: '#000000',
  },
}
SCSS
$custom: #3d4e89;
$custom-light: #787fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4e89",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 226.579,
    "s": 38.384,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43945,
    "c": 0.09946,
    "h": 269.8
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#3D4E89
secondary
#AEA173
accent
#B459CE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3D4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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