#3D4C8D#3D4C8D

#3D4C8D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.8% C 0.108 H 271.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3D4C8D
RGBrgb(61, 76, 141)
HSLhsl(229, 40%, 40%)
HSVhsv(229, 57%, 55%)
CMYKcmyk(56.7%, 46.1%, 0%, 44.7%)
CIE-LABlab(34.16, 14.34, -38.02)
CIE-LCHlch(34.16, 40.63, 290.66°)
OKLaboklab(43.77% 0.0029 -0.1082)
OKLCHoklch(43.77% 0.108 271.5)
XYZxyz(9.3151, 8.0834, 26.2635)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4C8D #8D7E3D
analogous
#3D748D #3D4C8D #563D8D
triadic
#3D4C8D #8D3D4C #4C8D3D
tetradic
#3D4C8D #8D3D74 #8D7E3D #3D8D56
square
#3D4C8D #8D3D74 #8D7E3D #3D8D56
split-complementary
#3D4C8D #8D563D #748D3D
monochromatic
#181E38 #2B3562 #3D4C8D #5365B4 #7D8BC7

Accessibility & contrast

On white

8.03
#3D4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D4C8D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4C8D#FFFFFF#000000##FFFFFF
##3D4C8D1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F548F
Deuteranopia (green-blind)
#254D8C
Tritanopia (blue-blind)
#115A65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d4c8d;
/* rgb */ color: rgb(61, 76, 141);
/* oklch */ color: oklch(43.8% 0.108 271.5);
Tailwind
colors: {
  custom: {
    50: '#797daf',
    500: '#3d4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #3d4c8d;
$custom-light: #797daf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4c8d",
  "rgb": {
    "r": 61,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 228.75,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43766,
    "c": 0.10827,
    "h": 271.5
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#3D4C8D
secondary
#B1A675
accent
#B958CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3D4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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