#3D47AE#3D47AE

#3D47AE is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.163 H 273.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3D47AE
RGBrgb(61, 71, 174)
HSLhsl(235, 48%, 46%)
HSVhsv(235, 65%, 68%)
CMYKcmyk(64.9%, 59.2%, 0%, 31.8%)
CIE-LABlab(35.11, 29.24, -56.38)
CIE-LCHlch(35.11, 63.51, 297.41°)
OKLaboklab(45.22% 0.0106 -0.1623)
OKLCHoklch(45.22% 0.163 273.7)
XYZxyz(11.8152, 8.5535, 41.0646)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D47AE #AEA43D
analogous
#3D7FAE #3D47AE #6B3DAE
triadic
#3D47AE #AE3D47 #47AE3D
tetradic
#3D47AE #AE3D7F #AEA43D #3DAE6B
square
#3D47AE #AE3D7F #AEA43D #3DAE6B
split-complementary
#3D47AE #AE6B3D #7FAE3D
monochromatic
#1D2253 #2D3581 #3D47AE #616AC8 #8E95D7

Accessibility & contrast

On white

7.75
#3D47AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3D47AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D47AE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D47AE#FFFFFF#000000##FFFFFF
##3D47AE1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d47ae;
/* rgb */ color: rgb(61, 71, 174);
/* oklch */ color: oklch(45.2% 0.163 273.7);
Tailwind
colors: {
  custom: {
    50: '#7f7ac7',
    500: '#3d47ae',
    950: '#000000',
  },
}
SCSS
$custom: #3d47ae;
$custom-light: #7f7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d47ae",
  "rgb": {
    "r": 61,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 234.69,
    "s": 48.085,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45217,
    "c": 0.16261,
    "h": 273.7
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#3D47AE
secondary
#C2BD85
accent
#CC50D8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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