#3D47B2#3D47B2

#3D47B2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.168 H 273.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3D47B2
RGBrgb(61, 71, 178)
HSLhsl(235, 49%, 47%)
HSVhsv(235, 66%, 70%)
CMYKcmyk(65.7%, 60.1%, 0%, 30.2%)
CIE-LABlab(35.42, 30.64, -58.24)
CIE-LCHlch(35.42, 65.81, 297.75°)
OKLaboklab(45.55% 0.0106 -0.1677)
OKLCHoklch(45.55% 0.168 273.6)
XYZxyz(12.2109, 8.7119, 43.1489)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47B2 #B2A83D
analogous
#3D82B2 #3D47B2 #6E3DB2
triadic
#3D47B2 #B23D47 #47B23D
tetradic
#3D47B2 #B23D82 #B2A83D #3DB26E
square
#3D47B2 #B23D82 #B2A83D #3DB26E
split-complementary
#3D47B2 #B26E3D #82B23D
monochromatic
#1E2357 #2D3584 #3D47B2 #636CC9 #9097D9

Accessibility & contrast

On white

7.66
#3D47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3D47B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D47B2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47B2#FFFFFF#000000##FFFFFF
##3D47B21.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d47b2;
/* rgb */ color: rgb(61, 71, 178);
/* oklch */ color: oklch(45.5% 0.168 273.6);
Tailwind
colors: {
  custom: {
    50: '#807aca',
    500: '#3d47b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d47b2;
$custom-light: #807aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47b2",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 234.872,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.16807,
    "h": 273.6
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#3D47B2
secondary
#C4BF87
accent
#CD4FD9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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