#4D47E3#4D47E3

#4D47E3 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.227 H 276.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4D47E3
RGBrgb(77, 71, 227)
HSLhsl(242, 74%, 58%)
HSVhsv(242, 69%, 89%)
CMYKcmyk(66.1%, 68.7%, 0%, 11%)
CIE-LABlab(40.62, 49.20, -78.14)
CIE-LCHlch(40.62, 92.33, 302.19°)
OKLaboklab(50.89% 0.0251 -0.2256)
OKLCHoklch(50.89% 0.227 276.3)
XYZxyz(19.1744, 11.6286, 73.8922)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D47E3 #DDE347
analogous
#478FE3 #4D47E3 #9B47E3
triadic
#4D47E3 #E34D47 #47E34D
tetradic
#4D47E3 #E3478F #DDE347 #47E39B
square
#4D47E3 #E3478F #DDE347 #47E39B
split-complementary
#4D47E3 #E39B47 #8FE347
monochromatic
#1C1798 #261FCE #4D47E3 #807CEB #B4B1F3

Accessibility & contrast

On white

6.31
#4D47E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4D47E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D47E3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D47E3#FFFFFF#000000##FFFFFF
##4D47E31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#0059E0
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4d47e3;
/* rgb */ color: rgb(77, 71, 227);
/* oklch */ color: oklch(50.9% 0.227 276.3);
Tailwind
colors: {
  custom: {
    50: '#917ced',
    500: '#4d47e3',
    950: '#000000',
  },
}
SCSS
$custom: #4d47e3;
$custom-light: #917ced;
$custom-dark: #000000;
JSON
{
  "hex": "#4d47e3",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 227
  },
  "hsl": {
    "h": 242.308,
    "s": 73.585,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50887,
    "c": 0.22703,
    "h": 276.3
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#4D47E3
secondary
#DFE2A4
accent
#F038E9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D47E3

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

Preview Lab → · Contrast checker → · Palette generator →

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