#4747BC#4747BC

#4747BC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.0% C 0.179 H 277.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4747BC
RGBrgb(71, 71, 188)
HSLhsl(240, 47%, 51%)
HSVhsv(240, 62%, 74%)
CMYKcmyk(62.2%, 62.2%, 0%, 26.3%)
CIE-LABlab(36.88, 35.64, -61.73)
CIE-LCHlch(36.88, 71.28, 300.00°)
OKLaboklab(47.05% 0.0219 -0.1777)
OKLCHoklch(47.05% 0.179 277)
XYZxyz(13.9259, 9.4758, 48.6624)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747BC #BCBC47
analogous
#4781BC #4747BC #8147BC
triadic
#4747BC #BC4747 #47BC47
tetradic
#4747BC #BC4781 #BCBC47 #47BC81
square
#4747BC #BC4781 #BCBC47 #47BC81
split-complementary
#4747BC #BC8147 #81BC47
monochromatic
#242464 #353591 #4747BC #7474CC #A1A1DD

Accessibility & contrast

On white

7.25
#4747BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4747BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4747BC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747BC#FFFFFF#000000##FFFFFF
##4747BC1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4747bc;
/* rgb */ color: rgb(71, 71, 188);
/* oklch */ color: oklch(47.0% 0.179 277.0);
Tailwind
colors: {
  custom: {
    50: '#877ad1',
    500: '#4747bc',
    950: '#000000',
  },
}
SCSS
$custom: #4747bc;
$custom-light: #877ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4747bc",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 240,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47047,
    "c": 0.17906,
    "h": 277
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#4747BC
secondary
#C9C995
accent
#D652D6
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4747BC

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

Preview Lab → · Contrast checker → · Palette generator →

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