#4D47E8#4D47E8

#4D47E8 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.3% C 0.233 H 276.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4D47E8
RGBrgb(77, 71, 232)
HSLhsl(242, 78%, 59%)
HSVhsv(242, 69%, 91%)
CMYKcmyk(66.8%, 69.4%, 0%, 9%)
CIE-LABlab(41.07, 50.78, -80.23)
CIE-LCHlch(41.07, 94.95, 302.33°)
OKLaboklab(51.35% 0.0244 -0.2318)
OKLCHoklch(51.35% 0.233 276)
XYZxyz(19.8745, 11.9087, 77.5795)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47E8 #E2E847
analogous
#4792E8 #4D47E8 #9E47E8
triadic
#4D47E8 #E84D47 #47E84D
tetradic
#4D47E8 #E84792 #E2E847 #47E89E
square
#4D47E8 #E84792 #E2E847 #47E89E
split-complementary
#4D47E8 #E89E47 #92E847
monochromatic
#1914A1 #221BD7 #4D47E8 #827DEF #B6B4F6

Accessibility & contrast

On white

6.21
#4D47E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4D47E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47E8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47E8#FFFFFF#000000##FFFFFF
##4D47E81.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068ED
Deuteranopia (green-blind)
#005AE5
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d47e8;
/* rgb */ color: rgb(77, 71, 232);
/* oklch */ color: oklch(51.3% 0.233 276.0);
Tailwind
colors: {
  custom: {
    50: '#927cf1',
    500: '#4d47e8',
    950: '#000000',
  },
}
SCSS
$custom: #4d47e8;
$custom-light: #927cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47e8",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 242.236,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.23305,
    "h": 276
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#4D47E8
secondary
#E2E5A6
accent
#F434ED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4D47E8

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

Preview Lab → · Contrast checker → · Palette generator →

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