#3D47C1#3D47C1

#3D47C1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.188 H 273.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3D47C1
RGBrgb(61, 71, 193)
HSLhsl(235, 52%, 50%)
HSVhsv(235, 68%, 76%)
CMYKcmyk(68.4%, 63.2%, 0%, 24.3%)
CIE-LABlab(36.64, 35.88, -65.08)
CIE-LCHlch(36.64, 74.31, 298.87°)
OKLaboklab(46.83% 0.01 -0.1878)
OKLCHoklch(46.83% 0.188 273.1)
XYZxyz(13.8001, 9.3475, 51.5187)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47C1 #C1B73D
analogous
#3D89C1 #3D47C1 #753DC1
triadic
#3D47C1 #C13D47 #47C13D
tetradic
#3D47C1 #C13D89 #C1B73D #3DC175
square
#3D47C1 #C13D89 #C1B73D #3DC175
split-complementary
#3D47C1 #C1753D #89C13D
monochromatic
#202564 #2E3692 #3D47C1 #6B73D0 #999FDF

Accessibility & contrast

On white

7.32
#3D47C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3D47C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D47C1
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47C1#FFFFFF#000000##FFFFFF
##3D47C11.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#0050BF
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d47c1;
/* rgb */ color: rgb(61, 71, 193);
/* oklch */ color: oklch(46.8% 0.188 273.1);
Tailwind
colors: {
  custom: {
    50: '#837ad5',
    500: '#3d47c1',
    950: '#000000',
  },
}
SCSS
$custom: #3d47c1;
$custom-light: #837ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47c1",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 193
  },
  "hsl": {
    "h": 235.455,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.18808,
    "h": 273.1
  },
  "luminance": 0.09349
}

Semantic roles & 50–950 ramp

primary
#3D47C1
secondary
#CBC68F
accent
#D14CDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3D47C1

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

Preview Lab → · Contrast checker → · Palette generator →

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