#3D47C4#3D47C4

#3D47C4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.192 H 272.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#3D47C4
RGBrgb(61, 71, 196)
HSLhsl(236, 53%, 50%)
HSVhsv(236, 69%, 77%)
CMYKcmyk(68.9%, 63.8%, 0%, 23.1%)
CIE-LABlab(36.90, 36.92, -66.42)
CIE-LCHlch(36.90, 75.99, 299.07°)
OKLaboklab(47.09% 0.0098 -0.1917)
OKLCHoklch(47.09% 0.192 272.9)
XYZxyz(14.1382, 9.4828, 53.2991)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47C4 #C4BA3D
analogous
#3D8AC4 #3D47C4 #773DC4
triadic
#3D47C4 #C43D47 #47C43D
tetradic
#3D47C4 #C43D8A #C4BA3D #3DC477
square
#3D47C4 #C43D8A #C4BA3D #3DC477
split-complementary
#3D47C4 #C4773D #8AC43D
monochromatic
#1F2567 #2E3596 #3D47C4 #6C74D2 #9BA0E1

Accessibility & contrast

On white

7.25
#3D47C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3D47C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D47C4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47C4#FFFFFF#000000##FFFFFF
##3D47C41.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0051C2
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3d47c4;
/* rgb */ color: rgb(61, 71, 196);
/* oklch */ color: oklch(47.1% 0.192 272.9);
Tailwind
colors: {
  custom: {
    50: '#847ad7',
    500: '#3d47c4',
    950: '#000000',
  },
}
SCSS
$custom: #3d47c4;
$custom-light: #847ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47c4",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 196
  },
  "hsl": {
    "h": 235.556,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47092,
    "c": 0.19199,
    "h": 272.9
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#3D47C4
secondary
#CDC890
accent
#D24BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3D47C4

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

Preview Lab → · Contrast checker → · Palette generator →

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