#3D4E8D#3D4E8D

#3D4E8D is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.106 H 270.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3D4E8D
RGBrgb(61, 78, 141)
HSLhsl(227, 40%, 40%)
HSVhsv(227, 57%, 55%)
CMYKcmyk(56.7%, 44.7%, 0%, 44.7%)
CIE-LABlab(34.73, 13.02, -37.11)
CIE-LCHlch(34.73, 39.33, 289.33°)
OKLaboklab(44.2% 0.0005 -0.1055)
OKLCHoklch(44.2% 0.106 270.3)
XYZxyz(9.4550, 8.3633, 26.3102)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4E8D #8D7C3D
analogous
#3D768D #3D4E8D #543D8D
triadic
#3D4E8D #8D3D4E #4E8D3D
tetradic
#3D4E8D #8D3D76 #8D7C3D #3D8D54
square
#3D4E8D #8D3D76 #8D7C3D #3D8D54
split-complementary
#3D4E8D #8D543D #768D3D
monochromatic
#181F38 #2B3662 #3D4E8D #5367B4 #7D8DC7

Accessibility & contrast

On white

7.86
#3D4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3D4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4E8D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4E8D#FFFFFF#000000##FFFFFF
##3D4E8D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558F
Deuteranopia (green-blind)
#294E8C
Tritanopia (blue-blind)
#105C66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d4e8d;
/* rgb */ color: rgb(61, 78, 141);
/* oklch */ color: oklch(44.2% 0.106 270.3);
Tailwind
colors: {
  custom: {
    50: '#797faf',
    500: '#3d4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #3d4e8d;
$custom-light: #797faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4e8d",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 227.25,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44204,
    "c": 0.10553,
    "h": 270.3
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#3D4E8D
secondary
#B1A475
accent
#B658CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3D4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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