#3D47A4#3D47A4

#3D47A4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.149 H 274.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#3D47A4
RGBrgb(61, 71, 164)
HSLhsl(234, 46%, 44%)
HSVhsv(234, 63%, 64%)
CMYKcmyk(62.8%, 56.7%, 0%, 35.7%)
CIE-LABlab(34.35, 25.72, -51.64)
CIE-LCHlch(34.35, 57.69, 296.47°)
OKLaboklab(44.41% 0.0105 -0.1483)
OKLCHoklch(44.41% 0.149 274)
XYZxyz(10.8763, 8.1780, 36.1201)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47A4 #A49A3D
analogous
#3D7BA4 #3D47A4 #673DA4
triadic
#3D47A4 #A43D47 #47A43D
tetradic
#3D47A4 #A43D7B #A49A3D #3DA467
square
#3D47A4 #A43D7B #A49A3D #3DA467
split-complementary
#3D47A4 #A4673D #7BA43D
monochromatic
#1C204B #2C3477 #3D47A4 #5C66C2 #8890D3

Accessibility & contrast

On white

7.97
#3D47A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3D47A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D47A4
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47A4#FFFFFF#000000##FFFFFF
##3D47A41.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d47a4;
/* rgb */ color: rgb(61, 71, 164);
/* oklch */ color: oklch(44.4% 0.149 274.0);
Tailwind
colors: {
  custom: {
    50: '#7d7ac0',
    500: '#3d47a4',
    950: '#000000',
  },
}
SCSS
$custom: #3d47a4;
$custom-light: #7d7ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47a4",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 234.175,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.14869,
    "h": 274
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#3D47A4
secondary
#BDB77F
accent
#C952D5
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3D47A4

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

Preview Lab → · Contrast checker → · Palette generator →

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