#4D47DC#4D47DC

#4D47DC is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.2% C 0.218 H 276.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4D47DC
RGBrgb(77, 71, 220)
HSLhsl(242, 68%, 57%)
HSVhsv(242, 68%, 86%)
CMYKcmyk(65%, 67.7%, 0%, 13.7%)
CIE-LABlab(40.00, 46.97, -75.16)
CIE-LCHlch(40.00, 88.63, 302.00°)
OKLaboklab(50.25% 0.0261 -0.2169)
OKLCHoklch(50.25% 0.219 276.9)
XYZxyz(18.2279, 11.2500, 68.9072)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47DC #D6DC47
analogous
#478CDC #4D47DC #9847DC
triadic
#4D47DC #DC4D47 #47DC4D
tetradic
#4D47DC #DC478C #D6DC47 #47DC98
square
#4D47DC #DC478C #D6DC47 #47DC98
split-complementary
#4D47DC #DC9847 #8CDC47
monochromatic
#201B8E #2B25C1 #4D47DC #7F7AE6 #B0AEF0

Accessibility & contrast

On white

6.46
#4D47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4D47DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47DC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47DC#FFFFFF#000000##FFFFFF
##4D47DC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#0058D9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4d47dc;
/* rgb */ color: rgb(77, 71, 220);
/* oklch */ color: oklch(50.2% 0.218 276.9);
Tailwind
colors: {
  custom: {
    50: '#907be8',
    500: '#4d47dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d47dc;
$custom-light: #907be8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47dc",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 242.416,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5025,
    "c": 0.2185,
    "h": 276.9
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#4D47DC
secondary
#DBDEA1
accent
#EB3DE4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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