#3D47D7#3D47D7

#3D47D7 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.8% C 0.216 H 272.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3D47D7
RGBrgb(61, 71, 215)
HSLhsl(236, 66%, 54%)
HSVhsv(236, 72%, 84%)
CMYKcmyk(71.6%, 67%, 0%, 15.7%)
CIE-LABlab(38.56, 43.42, -74.70)
CIE-LCHlch(38.56, 86.40, 300.17°)
OKLaboklab(48.81% 0.0083 -0.216)
OKLCHoklch(48.81% 0.216 272.2)
XYZxyz(16.4393, 10.4032, 65.4185)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47D7 #D7CD3D
analogous
#3D94D7 #3D47D7 #803DD7
triadic
#3D47D7 #D73D47 #47D73D
tetradic
#3D47D7 #D73D94 #D7CD3D #3DD780
square
#3D47D7 #D73D94 #D7CD3D #3DD780
split-complementary
#3D47D7 #D7803D #94D73D
monochromatic
#1A217F #252EB2 #3D47D7 #7077E1 #A2A7EC

Accessibility & contrast

On white

6.82
#3D47D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3D47D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D47D7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47D7#FFFFFF#000000##FFFFFF
##3D47D71.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0054D4
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3d47d7;
/* rgb */ color: rgb(61, 71, 215);
/* oklch */ color: oklch(48.8% 0.216 272.2);
Tailwind
colors: {
  custom: {
    50: '#887be5',
    500: '#3d47d7',
    950: '#000000',
  },
}
SCSS
$custom: #3d47d7;
$custom-light: #887be5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47d7",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 236.104,
    "s": 65.812,
    "l": 54.118
  },
  "oklch": {
    "l": 0.4881,
    "c": 0.21614,
    "h": 272.2
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#3D47D7
secondary
#D9D497
accent
#DE3FE9
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3D47D7

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

Preview Lab → · Contrast checker → · Palette generator →

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