#4D47CD#4D47CD

#4D47CD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.9% C 0.200 H 278.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4D47CD
RGBrgb(77, 71, 205)
HSLhsl(243, 57%, 54%)
HSVhsv(243, 65%, 80%)
CMYKcmyk(62.4%, 65.4%, 0%, 19.6%)
CIE-LABlab(38.71, 42.15, -68.64)
CIE-LCHlch(38.71, 80.55, 301.55°)
OKLaboklab(48.92% 0.0279 -0.1978)
OKLCHoklch(48.92% 0.2 278)
XYZxyz(16.3297, 10.4907, 58.9102)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47CD #C7CD47
analogous
#4784CD #4D47CD #9047CD
triadic
#4D47CD #CD4D47 #47CD4D
tetradic
#4D47CD #CD4784 #C7CD47 #47CD90
square
#4D47CD #CD4784 #C7CD47 #47CD90
split-complementary
#4D47CD #CD9047 #84CD47
monochromatic
#252179 #332EA9 #4D47CD #7C77DA #AAA7E7

Accessibility & contrast

On white

6.78
#4D47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4D47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47CD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47CD#FFFFFF#000000##FFFFFF
##4D47CD1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0056CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d47cd;
/* rgb */ color: rgb(77, 71, 205);
/* oklch */ color: oklch(48.9% 0.200 278.0);
Tailwind
colors: {
  custom: {
    50: '#8d7bdd',
    500: '#4d47cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d47cd;
$custom-light: #8d7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47cd",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 242.687,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48921,
    "c": 0.19979,
    "h": 278
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#4D47CD
secondary
#D2D49B
accent
#E147DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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