#4D47D7#4D47D7

#4D47D7 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.212 H 277.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4D47D7
RGBrgb(77, 71, 215)
HSLhsl(243, 64%, 56%)
HSVhsv(243, 67%, 84%)
CMYKcmyk(64.2%, 67%, 0%, 15.7%)
CIE-LABlab(39.56, 45.37, -73.01)
CIE-LCHlch(39.56, 85.96, 301.85°)
OKLaboklab(49.8% 0.0267 -0.2106)
OKLCHoklch(49.8% 0.212 277.2)
XYZxyz(17.5756, 10.9891, 65.4717)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47D7 #D1D747
analogous
#4789D7 #4D47D7 #9547D7
triadic
#4D47D7 #D74D47 #47D74D
tetradic
#4D47D7 #D74789 #D1D747 #47D795
square
#4D47D7 #D74789 #D1D747 #47D795
split-complementary
#4D47D7 #D79547 #89D747
monochromatic
#221D86 #2E28B9 #4D47D7 #7E79E2 #AEACED

Accessibility & contrast

On white

6.57
#4D47D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4D47D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47D7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47D7#FFFFFF#000000##FFFFFF
##4D47D71.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DB
Deuteranopia (green-blind)
#0057D4
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d47d7;
/* rgb */ color: rgb(77, 71, 215);
/* oklch */ color: oklch(49.8% 0.212 277.2);
Tailwind
colors: {
  custom: {
    50: '#8f7be4',
    500: '#4d47d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d47d7;
$custom-light: #8f7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47d7",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 242.5,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49802,
    "c": 0.21233,
    "h": 277.2
  },
  "luminance": 0.10991
}

Semantic roles & 50–950 ramp

primary
#4D47D7
secondary
#D8DB9F
accent
#E741E0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D47D7

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

Preview Lab → · Contrast checker → · Palette generator →

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