#4D47B7#4D47B7

#4D47B7 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.171 H 279.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4D47B7
RGBrgb(77, 71, 183)
HSLhsl(243, 44%, 50%)
HSVhsv(243, 61%, 72%)
CMYKcmyk(57.9%, 61.2%, 0%, 28.2%)
CIE-LABlab(36.93, 35.00, -58.69)
CIE-LCHlch(36.93, 68.34, 300.81°)
OKLaboklab(47.07% 0.0296 -0.1686)
OKLCHoklch(47.07% 0.171 279.9)
XYZxyz(13.8584, 9.5022, 45.8944)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47B7 #B1B747
analogous
#4779B7 #4D47B7 #8547B7
triadic
#4D47B7 #B74D47 #47B74D
tetradic
#4D47B7 #B74779 #B1B747 #47B785
square
#4D47B7 #B74779 #B1B747 #47B785
split-complementary
#4D47B7 #B78547 #79B747
monochromatic
#28255F #3A368B #4D47B7 #7773C9 #A29FDA

Accessibility & contrast

On white

7.24
#4D47B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4D47B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D47B7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47B7#FFFFFF#000000##FFFFFF
##4D47B71.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#0C6278
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d47b7;
/* rgb */ color: rgb(77, 71, 183);
/* oklch */ color: oklch(47.1% 0.171 279.9);
Tailwind
colors: {
  custom: {
    50: '#897acd',
    500: '#4d47b7',
    950: '#000000',
  },
}
SCSS
$custom: #4d47b7;
$custom-light: #897acd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47b7",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 243.214,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47073,
    "c": 0.17119,
    "h": 279.9
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#4D47B7
secondary
#C4C694
accent
#D454CD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4D47B7

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

Preview Lab → · Contrast checker → · Palette generator →

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