#4D47E5#4D47E5

#4D47E5 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.229 H 276.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4D47E5
RGBrgb(77, 71, 229)
HSLhsl(242, 75%, 59%)
HSVhsv(242, 69%, 90%)
CMYKcmyk(66.4%, 69%, 0%, 10.2%)
CIE-LABlab(40.80, 49.83, -78.98)
CIE-LCHlch(40.80, 93.38, 302.25°)
OKLaboklab(51.07% 0.0248 -0.2281)
OKLCHoklch(51.07% 0.229 276.2)
XYZxyz(19.4520, 11.7397, 75.3544)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47E5 #DFE547
analogous
#4790E5 #4D47E5 #9C47E5
triadic
#4D47E5 #E54D47 #47E54D
tetradic
#4D47E5 #E54790 #DFE547 #47E59C
square
#4D47E5 #E54790 #DFE547 #47E59C
split-complementary
#4D47E5 #E59C47 #90E547
monochromatic
#1B169C #241ED1 #4D47E5 #817DED #B5B2F4

Accessibility & contrast

On white

6.27
#4D47E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4D47E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47E5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47E5#FFFFFF#000000##FFFFFF
##4D47E51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#0059E2
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d47e5;
/* rgb */ color: rgb(77, 71, 229);
/* oklch */ color: oklch(51.1% 0.229 276.2);
Tailwind
colors: {
  custom: {
    50: '#917cee',
    500: '#4d47e5',
    950: '#000000',
  },
}
SCSS
$custom: #4d47e5;
$custom-light: #917cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47e5",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 242.278,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5107,
    "c": 0.22945,
    "h": 276.2
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#4D47E5
secondary
#E1E3A5
accent
#F236EB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4D47E5

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

Preview Lab → · Contrast checker → · Palette generator →

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