#3D47B3#3D47B3

#3D47B3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.169 H 273.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3D47B3
RGBrgb(61, 71, 179)
HSLhsl(235, 49%, 47%)
HSVhsv(235, 66%, 70%)
CMYKcmyk(65.9%, 60.3%, 0%, 29.8%)
CIE-LABlab(35.50, 30.99, -58.71)
CIE-LCHlch(35.50, 66.38, 297.83°)
OKLaboklab(45.63% 0.0105 -0.1691)
OKLCHoklch(45.63% 0.169 273.6)
XYZxyz(12.3117, 8.7522, 43.6796)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47B3 #B3A93D
analogous
#3D82B3 #3D47B3 #6E3DB3
triadic
#3D47B3 #B33D47 #47B33D
tetradic
#3D47B3 #B33D82 #B3A93D #3DB36E
square
#3D47B3 #B33D82 #B3A93D #3DB36E
split-complementary
#3D47B3 #B36E3D #82B33D
monochromatic
#1E2358 #2D3585 #3D47B3 #636CCA #9197D9

Accessibility & contrast

On white

7.63
#3D47B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3D47B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D47B3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47B3#FFFFFF#000000##FFFFFF
##3D47B31.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d47b3;
/* rgb */ color: rgb(61, 71, 179);
/* oklch */ color: oklch(45.6% 0.169 273.6);
Tailwind
colors: {
  custom: {
    50: '#807acb',
    500: '#3d47b3',
    950: '#000000',
  },
}
SCSS
$custom: #3d47b3;
$custom-light: #807acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47b3",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 234.915,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45631,
    "c": 0.16943,
    "h": 273.6
  },
  "luminance": 0.08753
}

Semantic roles & 50–950 ramp

primary
#3D47B3
secondary
#C5BF87
accent
#CD4FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D47B3

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

Preview Lab → · Contrast checker → · Palette generator →

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