#4D47C8#4D47C8

#4D47C8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.5% C 0.193 H 278.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4D47C8
RGBrgb(77, 71, 200)
HSLhsl(243, 54%, 53%)
HSVhsv(243, 65%, 78%)
CMYKcmyk(61.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(38.29, 40.53, -66.42)
CIE-LCHlch(38.29, 77.81, 301.39°)
OKLaboklab(48.49% 0.0283 -0.1913)
OKLCHoklch(48.49% 0.193 278.4)
XYZxyz(15.7358, 10.2532, 55.7822)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47C8 #C2C847
analogous
#4781C8 #4D47C8 #8E47C8
triadic
#4D47C8 #C84D47 #47C84D
tetradic
#4D47C8 #C84781 #C2C847 #47C88E
square
#4D47C8 #C84781 #C2C847 #47C88E
split-complementary
#4D47C8 #C88E47 #81C847
monochromatic
#262272 #3630A2 #4D47C8 #7B76D6 #A8A5E4

Accessibility & contrast

On white

6.88
#4D47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4D47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47C8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47C8#FFFFFF#000000##FFFFFF
##4D47C81.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d47c8;
/* rgb */ color: rgb(77, 71, 200);
/* oklch */ color: oklch(48.5% 0.193 278.4);
Tailwind
colors: {
  custom: {
    50: '#8c7bda',
    500: '#4d47c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d47c8;
$custom-light: #8c7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47c8",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 242.791,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4849,
    "c": 0.19342,
    "h": 278.4
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#4D47C8
secondary
#CFD19A
accent
#DD4AD7
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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