#3D47C2#3D47C2

#3D47C2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.9% C 0.189 H 273.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3D47C2
RGBrgb(61, 71, 194)
HSLhsl(235, 52%, 50%)
HSVhsv(235, 69%, 76%)
CMYKcmyk(68.6%, 63.4%, 0%, 23.9%)
CIE-LABlab(36.73, 36.22, -65.53)
CIE-LCHlch(36.73, 74.87, 298.93°)
OKLaboklab(46.92% 0.01 -0.1891)
OKLCHoklch(46.92% 0.189 273)
XYZxyz(13.9121, 9.3923, 52.1082)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47C2 #C2B83D
analogous
#3D89C2 #3D47C2 #763DC2
triadic
#3D47C2 #C23D47 #47C23D
tetradic
#3D47C2 #C23D89 #C2B83D #3DC276
square
#3D47C2 #C23D89 #C2B83D #3DC276
split-complementary
#3D47C2 #C2763D #89C23D
monochromatic
#202565 #2E3693 #3D47C2 #6C73D1 #9A9FDF

Accessibility & contrast

On white

7.29
#3D47C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3D47C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D47C2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47C2#FFFFFF#000000##FFFFFF
##3D47C21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0050C0
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d47c2;
/* rgb */ color: rgb(61, 71, 194);
/* oklch */ color: oklch(46.9% 0.189 273.0);
Tailwind
colors: {
  custom: {
    50: '#837ad5',
    500: '#3d47c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d47c2;
$custom-light: #837ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47c2",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 235.489,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.46916,
    "c": 0.18938,
    "h": 273
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#3D47C2
secondary
#CBC790
accent
#D14CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3D47C2

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

Preview Lab → · Contrast checker → · Palette generator →

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