#4D47E4#4D47E4

#4D47E4 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.228 H 276.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4D47E4
RGBrgb(77, 71, 228)
HSLhsl(242, 74%, 59%)
HSVhsv(242, 69%, 89%)
CMYKcmyk(66.2%, 68.9%, 0%, 10.6%)
CIE-LABlab(40.71, 49.51, -78.56)
CIE-LCHlch(40.71, 92.86, 302.22°)
OKLaboklab(50.98% 0.025 -0.2269)
OKLCHoklch(50.98% 0.228 276.3)
XYZxyz(19.3128, 11.6840, 74.6212)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47E4 #DEE447
analogous
#478FE4 #4D47E4 #9B47E4
triadic
#4D47E4 #E44D47 #47E44D
tetradic
#4D47E4 #E4478F #DEE447 #47E49B
square
#4D47E4 #E4478F #DEE447 #47E49B
split-complementary
#4D47E4 #E49B47 #8FE447
monochromatic
#1C179A #251ECF #4D47E4 #817CEC #B4B2F4

Accessibility & contrast

On white

6.29
#4D47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4D47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47E4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47E4#FFFFFF#000000##FFFFFF
##4D47E41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E9
Deuteranopia (green-blind)
#0059E1
Tritanopia (blue-blind)
#007290
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d47e4;
/* rgb */ color: rgb(77, 71, 228);
/* oklch */ color: oklch(51.0% 0.228 276.3);
Tailwind
colors: {
  custom: {
    50: '#917cee',
    500: '#4d47e4',
    950: '#000000',
  },
}
SCSS
$custom: #4d47e4;
$custom-light: #917cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47e4",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 242.293,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50978,
    "c": 0.22824,
    "h": 276.3
  },
  "luminance": 0.11686
}

Semantic roles & 50–950 ramp

primary
#4D47E4
secondary
#E0E2A4
accent
#F137EA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4D47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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