#4747C5#4747C5

#4747C5 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.191 H 276.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4747C5
RGBrgb(71, 71, 197)
HSLhsl(240, 52%, 53%)
HSVhsv(240, 64%, 77%)
CMYKcmyk(64%, 64%, 0%, 22.7%)
CIE-LABlab(37.62, 38.64, -65.80)
CIE-LCHlch(37.62, 76.31, 300.43°)
OKLaboklab(47.81% 0.0213 -0.1897)
OKLCHoklch(47.81% 0.191 276.4)
XYZxyz(14.9265, 9.8760, 53.9322)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747C5 #C5C547
analogous
#4786C5 #4747C5 #8647C5
triadic
#4747C5 #C54747 #47C547
tetradic
#4747C5 #C54786 #C5C547 #47C586
square
#4747C5 #C54786 #C5C547 #47C586
split-complementary
#4747C5 #C58647 #86C547
monochromatic
#23236F #32329D #4747C5 #7676D4 #A4A4E2

Accessibility & contrast

On white

7.06
#4747C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4747C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4747C5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747C5#FFFFFF#000000##FFFFFF
##4747C51.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0053C3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4747c5;
/* rgb */ color: rgb(71, 71, 197);
/* oklch */ color: oklch(47.8% 0.191 276.4);
Tailwind
colors: {
  custom: {
    50: '#887ad8',
    500: '#4747c5',
    950: '#000000',
  },
}
SCSS
$custom: #4747c5;
$custom-light: #887ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#4747c5",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 240,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47812,
    "c": 0.19085,
    "h": 276.4
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#4747C5
secondary
#CFCF99
accent
#DC4CDC
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4747C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4747C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva