#4747DC#4747DC

#4747DC is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.220 H 274.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4747DC
RGBrgb(71, 71, 220)
HSLhsl(240, 68%, 57%)
HSVhsv(240, 68%, 86%)
CMYKcmyk(67.7%, 67.7%, 0%, 13.7%)
CIE-LABlab(39.60, 46.23, -75.83)
CIE-LCHlch(39.60, 88.81, 301.37°)
OKLaboklab(49.86% 0.0189 -0.219)
OKLCHoklch(49.86% 0.22 274.9)
XYZxyz(17.7658, 11.0117, 68.8855)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747DC #DCDC47
analogous
#4792DC #4747DC #9247DC
triadic
#4747DC #DC4747 #47DC47
tetradic
#4747DC #DC4792 #DCDC47 #47DC92
square
#4747DC #DC4792 #DCDC47 #47DC92
split-complementary
#4747DC #DC9247 #92DC47
monochromatic
#1B1B8E #2525C1 #4747DC #7A7AE6 #AEAEF0

Accessibility & contrast

On white

6.56
#4747DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4747DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4747DC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747DC#FFFFFF#000000##FFFFFF
##4747DC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0056D9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4747dc;
/* rgb */ color: rgb(71, 71, 220);
/* oklch */ color: oklch(49.9% 0.220 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d7be8',
    500: '#4747dc',
    950: '#000000',
  },
}
SCSS
$custom: #4747dc;
$custom-light: #8d7be8;
$custom-dark: #000000;
JSON
{
  "hex": "#4747dc",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 240,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49859,
    "c": 0.21987,
    "h": 274.9
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#4747DC
secondary
#DEDEA1
accent
#EB3DEB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4747DC

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

Preview Lab → · Contrast checker → · Palette generator →

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