#4747C2#4747C2

#4747C2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.6% C 0.187 H 276.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4747C2
RGBrgb(71, 71, 194)
HSLhsl(240, 50%, 52%)
HSVhsv(240, 63%, 76%)
CMYKcmyk(63.4%, 63.4%, 0%, 23.9%)
CIE-LABlab(37.37, 37.64, -64.45)
CIE-LCHlch(37.37, 74.64, 300.29°)
OKLaboklab(47.56% 0.0215 -0.1857)
OKLCHoklch(47.56% 0.187 276.6)
XYZxyz(14.5862, 9.7399, 52.1398)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747C2 #C2C247
analogous
#4785C2 #4747C2 #8547C2
triadic
#4747C2 #C24747 #47C247
tetradic
#4747C2 #C24785 #C2C247 #47C285
square
#4747C2 #C24785 #C2C247 #47C285
split-complementary
#4747C2 #C28547 #85C247
monochromatic
#24246B #333399 #4747C2 #7575D1 #A3A3E0

Accessibility & contrast

On white

7.12
#4747C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4747C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4747C2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747C2#FFFFFF#000000##FFFFFF
##4747C21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4747c2;
/* rgb */ color: rgb(71, 71, 194);
/* oklch */ color: oklch(47.6% 0.187 276.6);
Tailwind
colors: {
  custom: {
    50: '#887ad5',
    500: '#4747c2',
    950: '#000000',
  },
}
SCSS
$custom: #4747c2;
$custom-light: #887ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4747c2",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 240,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47555,
    "c": 0.18695,
    "h": 276.6
  },
  "luminance": 0.09741
}

Semantic roles & 50–950 ramp

primary
#4747C2
secondary
#CDCD97
accent
#DA4EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4747C2

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

Preview Lab → · Contrast checker → · Palette generator →

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