#4D47D8#4D47D8

#4D47D8 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.214 H 277.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4D47D8
RGBrgb(77, 71, 216)
HSLhsl(242, 65%, 56%)
HSVhsv(242, 67%, 85%)
CMYKcmyk(64.4%, 67.1%, 0%, 15.3%)
CIE-LABlab(39.65, 45.69, -73.44)
CIE-LCHlch(39.65, 86.49, 301.88°)
OKLaboklab(49.89% 0.0266 -0.2119)
OKLCHoklch(49.89% 0.214 277.2)
XYZxyz(17.7045, 11.0406, 66.1505)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47D8 #D2D847
analogous
#478AD8 #4D47D8 #9647D8
triadic
#4D47D8 #D84D47 #47D84D
tetradic
#4D47D8 #D8478A #D2D847 #47D896
square
#4D47D8 #D8478A #D2D847 #47D896
split-complementary
#4D47D8 #D89647 #8AD847
monochromatic
#211D88 #2E27BA #4D47D8 #7E79E3 #AFACED

Accessibility & contrast

On white

6.55
#4D47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4D47D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47D8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47D8#FFFFFF#000000##FFFFFF
##4D47D81.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#0057D5
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d47d8;
/* rgb */ color: rgb(77, 71, 216);
/* oklch */ color: oklch(49.9% 0.214 277.2);
Tailwind
colors: {
  custom: {
    50: '#8f7be5',
    500: '#4d47d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d47d8;
$custom-light: #8f7be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47d8",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 242.483,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49891,
    "c": 0.21357,
    "h": 277.2
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#4D47D8
secondary
#D9DBA0
accent
#E840E1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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