#3D477A#3D477A

#3D477A is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.086 H 273.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3D477A
RGBrgb(61, 71, 122)
HSLhsl(230, 33%, 36%)
HSVhsv(230, 50%, 48%)
CMYKcmyk(50%, 41.8%, 0%, 52.2%)
CIE-LABlab(31.59, 11.14, -30.37)
CIE-LCHlch(31.59, 32.35, 290.14°)
OKLaboklab(41.43% 0.0055 -0.0859)
OKLCHoklch(41.43% 0.086 273.7)
XYZxyz(7.6895, 6.9033, 19.3359)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D477A #7A703D
analogous
#3D657A #3D477A #513D7A
triadic
#3D477A #7A3D47 #477A3D
tetradic
#3D477A #7A3D65 #7A703D #3D7A51
square
#3D477A #7A3D65 #7A703D #3D7A51
split-complementary
#3D477A #7A513D #657A3D
monochromatic
#141828 #292F51 #3D477A #515FA3 #7782BB

Accessibility & contrast

On white

8.82
#3D477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3D477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D477A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D477A#FFFFFF#000000##FFFFFF
##3D477A1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#26525A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d477a;
/* rgb */ color: rgb(61, 71, 122);
/* oklch */ color: oklch(41.4% 0.086 273.7);
Tailwind
colors: {
  custom: {
    50: '#767aa1',
    500: '#3d477a',
    950: '#000000',
  },
}
SCSS
$custom: #3d477a;
$custom-light: #767aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d477a",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 230.164,
    "s": 33.333,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41433,
    "c": 0.08604,
    "h": 273.7
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#3D477A
secondary
#A59C6E
accent
#B85EC9
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090F
muted
#7B7B7E

Preview Lab

Preview with #3D477A

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

Preview Lab → · Contrast checker → · Palette generator →

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