#4D47D5#4D47D5

#4D47D5 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.6% C 0.210 H 277.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4D47D5
RGBrgb(77, 71, 213)
HSLhsl(243, 63%, 56%)
HSVhsv(243, 67%, 84%)
CMYKcmyk(63.8%, 66.7%, 0%, 16.5%)
CIE-LABlab(39.39, 44.72, -72.15)
CIE-LCHlch(39.39, 84.88, 301.80°)
OKLaboklab(49.62% 0.027 -0.2081)
OKLCHoklch(49.62% 0.21 277.4)
XYZxyz(17.3202, 10.8869, 64.1265)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47D5 #CFD547
analogous
#4788D5 #4D47D5 #9447D5
triadic
#4D47D5 #D54D47 #47D54D
tetradic
#4D47D5 #D54788 #CFD547 #47D594
square
#4D47D5 #D54788 #CFD547 #47D594
split-complementary
#4D47D5 #D59447 #88D547
monochromatic
#221E84 #2F29B5 #4D47D5 #7D79E0 #ADABEC

Accessibility & contrast

On white

6.61
#4D47D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4D47D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47D5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47D5#FFFFFF#000000##FFFFFF
##4D47D51.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d47d5;
/* rgb */ color: rgb(77, 71, 213);
/* oklch */ color: oklch(49.6% 0.210 277.4);
Tailwind
colors: {
  custom: {
    50: '#8e7be3',
    500: '#4d47d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d47d5;
$custom-light: #8e7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47d5",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 213
  },
  "hsl": {
    "h": 242.535,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.20985,
    "h": 277.4
  },
  "luminance": 0.10888
}

Semantic roles & 50–950 ramp

primary
#4D47D5
secondary
#D7D99E
accent
#E642DF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D47D5

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

Preview Lab → · Contrast checker → · Palette generator →

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