#3D4C8A#3D4C8A

#3D4C8A is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.6% C 0.104 H 271.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3D4C8A
RGBrgb(61, 76, 138)
HSLhsl(228, 39%, 39%)
HSVhsv(228, 56%, 54%)
CMYKcmyk(55.8%, 44.9%, 0%, 45.9%)
CIE-LABlab(33.97, 13.29, -36.48)
CIE-LCHlch(33.97, 38.82, 290.02°)
OKLaboklab(43.57% 0.0023 -0.1037)
OKLCHoklch(43.57% 0.104 271.3)
XYZxyz(9.0949, 7.9953, 25.1038)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4C8A #8A7B3D
analogous
#3D738A #3D4C8A #553D8A
triadic
#3D4C8A #8A3D4C #4C8A3D
tetradic
#3D4C8A #8A3D73 #8A7B3D #3D8A55
square
#3D4C8A #8A3D73 #8A7B3D #3D8A55
split-complementary
#3D4C8A #8A553D #738A3D
monochromatic
#171D35 #2A3560 #3D4C8A #5265B2 #7C8AC5

Accessibility & contrast

On white

8.08
#3D4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3D4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4C8A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4C8A#FFFFFF#000000##FFFFFF
##3D4C8A1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#284D89
Tritanopia (blue-blind)
#155A64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d4c8a;
/* rgb */ color: rgb(61, 76, 138);
/* oklch */ color: oklch(43.6% 0.104 271.3);
Tailwind
colors: {
  custom: {
    50: '#797dac',
    500: '#3d4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3d4c8a;
$custom-light: #797dac;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4c8a",
  "rgb": {
    "r": 61,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 228.312,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43567,
    "c": 0.10372,
    "h": 271.3
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#3D4C8A
secondary
#AFA474
accent
#B859CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3D4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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