#3D47BB#3D47BB

#3D47BB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.180 H 273.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#3D47BB
RGBrgb(61, 71, 187)
HSLhsl(235, 51%, 49%)
HSVhsv(235, 67%, 73%)
CMYKcmyk(67.4%, 62%, 0%, 26.7%)
CIE-LABlab(36.15, 33.79, -62.37)
CIE-LCHlch(36.15, 70.94, 298.45°)
OKLaboklab(46.31% 0.0103 -0.1799)
OKLCHoklch(46.31% 0.18 273.3)
XYZxyz(13.1444, 9.0852, 48.0650)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47BB #BBB13D
analogous
#3D86BB #3D47BB #723DBB
triadic
#3D47BB #BB3D47 #47BB3D
tetradic
#3D47BB #BB3D86 #BBB13D #3DBB72
square
#3D47BB #BB3D86 #BBB13D #3DBB72
split-complementary
#3D47BB #BB723D #86BB3D
monochromatic
#1F245F #2E358D #3D47BB #6870CE #969BDD

Accessibility & contrast

On white

7.45
#3D47BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3D47BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D47BB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47BB#FFFFFF#000000##FFFFFF
##3D47BB1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d47bb;
/* rgb */ color: rgb(61, 71, 187);
/* oklch */ color: oklch(46.3% 0.180 273.3);
Tailwind
colors: {
  custom: {
    50: '#827ad0',
    500: '#3d47bb',
    950: '#000000',
  },
}
SCSS
$custom: #3d47bb;
$custom-light: #827ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47bb",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 235.238,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46309,
    "c": 0.18016,
    "h": 273.3
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#3D47BB
secondary
#C8C38C
accent
#CF4EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3D47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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