#3D478D#3D478D

#3D478D is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.7% C 0.115 H 274.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3D478D
RGBrgb(61, 71, 141)
HSLhsl(233, 40%, 40%)
HSVhsv(233, 57%, 55%)
CMYKcmyk(56.7%, 49.6%, 0%, 44.7%)
CIE-LABlab(32.75, 17.65, -40.28)
CIE-LCHlch(32.75, 43.97, 293.66°)
OKLaboklab(42.7% 0.0088 -0.1149)
OKLCHoklch(42.7% 0.115 274.4)
XYZxyz(8.9839, 7.4210, 26.1531)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D478D #8D833D
analogous
#3D6F8D #3D478D #5B3D8D
triadic
#3D478D #8D3D47 #478D3D
tetradic
#3D478D #8D3D6F #8D833D #3D8D5B
square
#3D478D #8D3D6F #8D833D #3D8D5B
split-complementary
#3D478D #8D5B3D #6F8D3D
monochromatic
#181C38 #2B3162 #3D478D #535FB4 #7D87C7

Accessibility & contrast

On white

8.45
#3D478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3D478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D478D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D478D#FFFFFF#000000##FFFFFF
##3D478D1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255190
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#125763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3d478d;
/* rgb */ color: rgb(61, 71, 141);
/* oklch */ color: oklch(42.7% 0.115 274.4);
Tailwind
colors: {
  custom: {
    50: '#797aaf',
    500: '#3d478d',
    950: '#000000',
  },
}
SCSS
$custom: #3d478d;
$custom-light: #797aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d478d",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 232.5,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42695,
    "c": 0.11523,
    "h": 274.4
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#3D478D
secondary
#B1A975
accent
#C158CF
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3D478D

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

Preview Lab → · Contrast checker → · Palette generator →

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