#4D47E9#4D47E9

#4D47E9 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.234 H 275.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4D47E9
RGBrgb(77, 71, 233)
HSLhsl(242, 79%, 60%)
HSVhsv(242, 70%, 91%)
CMYKcmyk(67%, 69.5%, 0%, 8.6%)
CIE-LABlab(41.16, 51.09, -80.65)
CIE-LCHlch(41.16, 95.47, 302.35°)
OKLaboklab(51.44% 0.0242 -0.233)
OKLCHoklch(51.44% 0.234 275.9)
XYZxyz(20.0170, 11.9657, 78.3297)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47E9 #E3E947
analogous
#4792E9 #4D47E9 #9E47E9
triadic
#4D47E9 #E94D47 #47E94D
tetradic
#4D47E9 #E94792 #E3E947 #47E99E
square
#4D47E9 #E94792 #E3E947 #47E99E
split-complementary
#4D47E9 #E99E47 #92E947
monochromatic
#1913A2 #211AD9 #4D47E9 #827EF0 #B7B4F6

Accessibility & contrast

On white

6.19
#4D47E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4D47E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47E9
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47E9#FFFFFF#000000##FFFFFF
##4D47E91.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EE
Deuteranopia (green-blind)
#005AE6
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d47e9;
/* rgb */ color: rgb(77, 71, 233);
/* oklch */ color: oklch(51.4% 0.234 275.9);
Tailwind
colors: {
  custom: {
    50: '#927cf1',
    500: '#4d47e9',
    950: '#000000',
  },
}
SCSS
$custom: #4d47e9;
$custom-light: #927cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47e9",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 233
  },
  "hsl": {
    "h": 242.222,
    "s": 78.641,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5144,
    "c": 0.23425,
    "h": 275.9
  },
  "luminance": 0.11967
}

Semantic roles & 50–950 ramp

primary
#4D47E9
secondary
#E3E5A6
accent
#F533EE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4D47E9

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

Preview Lab → · Contrast checker → · Palette generator →

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