#4747C6#4747C6

#4747C6 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.9% C 0.192 H 276.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4747C6
RGBrgb(71, 71, 198)
HSLhsl(240, 53%, 53%)
HSVhsv(240, 64%, 78%)
CMYKcmyk(64.1%, 64.1%, 0%, 22.4%)
CIE-LABlab(37.70, 38.98, -66.24)
CIE-LCHlch(37.70, 76.86, 300.47°)
OKLaboklab(47.9% 0.0212 -0.191)
OKLCHoklch(47.9% 0.192 276.3)
XYZxyz(15.0415, 9.9220, 54.5376)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747C6 #C6C647
analogous
#4786C6 #4747C6 #8647C6
triadic
#4747C6 #C64747 #47C647
tetradic
#4747C6 #C64786 #C6C647 #47C686
square
#4747C6 #C64786 #C6C647 #47C686
split-complementary
#4747C6 #C68647 #86C647
monochromatic
#232370 #31319F #4747C6 #7676D4 #A4A4E3

Accessibility & contrast

On white

7.04
#4747C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4747C6
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747C6#FFFFFF#000000##FFFFFF
##4747C61.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#0053C4
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4747c6;
/* rgb */ color: rgb(71, 71, 198);
/* oklch */ color: oklch(47.9% 0.192 276.3);
Tailwind
colors: {
  custom: {
    50: '#897bd8',
    500: '#4747c6',
    950: '#000000',
  },
}
SCSS
$custom: #4747c6;
$custom-light: #897bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4747c6",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 198
  },
  "hsl": {
    "h": 240,
    "s": 52.697,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47899,
    "c": 0.19214,
    "h": 276.3
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#4747C6
secondary
#D0D099
accent
#DC4CDC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4747C6

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

Preview Lab → · Contrast checker → · Palette generator →

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