#4D47AF#4D47AF

#4D47AF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.4% C 0.160 H 280.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4D47AF
RGBrgb(77, 71, 175)
HSLhsl(243, 42%, 48%)
HSVhsv(243, 59%, 69%)
CMYKcmyk(56%, 59.4%, 0%, 31.4%)
CIE-LABlab(36.33, 32.40, -54.95)
CIE-LCHlch(36.33, 63.79, 300.52°)
OKLaboklab(46.43% 0.0298 -0.1576)
OKLCHoklch(46.43% 0.16 280.7)
XYZxyz(13.0493, 9.1786, 41.6331)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47AF #A9AF47
analogous
#4775AF #4D47AF #8147AF
triadic
#4D47AF #AF4D47 #47AF4D
tetradic
#4D47AF #AF4775 #A9AF47 #47AF81
square
#4D47AF #AF4775 #A9AF47 #47AF81
split-complementary
#4D47AF #AF8147 #75AF47
monochromatic
#272458 #3A3583 #4D47AF #746FC4 #9E9AD6

Accessibility & contrast

On white

7.41
#4D47AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4D47AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D47AF
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47AF#FFFFFF#000000##FFFFFF
##4D47AF1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#1C6074
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d47af;
/* rgb */ color: rgb(77, 71, 175);
/* oklch */ color: oklch(46.4% 0.160 280.7);
Tailwind
colors: {
  custom: {
    50: '#887ac8',
    500: '#4d47af',
    950: '#000000',
  },
}
SCSS
$custom: #4d47af;
$custom-light: #887ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47af",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 243.462,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46434,
    "c": 0.16041,
    "h": 280.7
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#4D47AF
secondary
#BFC28F
accent
#D256CB
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D47AF

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

Preview Lab → · Contrast checker → · Palette generator →

#4D47AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva