#4747C4#4747C4

#4747C4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.190 H 276.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4747C4
RGBrgb(71, 71, 196)
HSLhsl(240, 51%, 52%)
HSVhsv(240, 64%, 77%)
CMYKcmyk(63.8%, 63.8%, 0%, 23.1%)
CIE-LABlab(37.54, 38.31, -65.35)
CIE-LCHlch(37.54, 75.75, 300.38°)
OKLaboklab(47.73% 0.0213 -0.1883)
OKLCHoklch(47.73% 0.19 276.5)
XYZxyz(14.8123, 9.8304, 53.3307)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747C4 #C4C447
analogous
#4786C4 #4747C4 #8647C4
triadic
#4747C4 #C44747 #47C447
tetradic
#4747C4 #C44786 #C4C447 #47C486
square
#4747C4 #C44786 #C4C447 #47C486
split-complementary
#4747C4 #C48647 #86C447
monochromatic
#23236D #32329C #4747C4 #7575D3 #A4A4E2

Accessibility & contrast

On white

7.08
#4747C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4747C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4747C4
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747C4#FFFFFF#000000##FFFFFF
##4747C41.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4747c4;
/* rgb */ color: rgb(71, 71, 196);
/* oklch */ color: oklch(47.7% 0.190 276.5);
Tailwind
colors: {
  custom: {
    50: '#887ad7',
    500: '#4747c4',
    950: '#000000',
  },
}
SCSS
$custom: #4747c4;
$custom-light: #887ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4747c4",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 196
  },
  "hsl": {
    "h": 240,
    "s": 51.44,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.18955,
    "h": 276.5
  },
  "luminance": 0.09832
}

Semantic roles & 50–950 ramp

primary
#4747C4
secondary
#CFCF98
accent
#DB4DDB
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4747C4

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

Preview Lab → · Contrast checker → · Palette generator →

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