#4747CC#4747CC

#4747CC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.200 H 275.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4747CC
RGBrgb(71, 71, 204)
HSLhsl(240, 57%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(65.2%, 65.2%, 0%, 20%)
CIE-LABlab(38.21, 40.97, -68.90)
CIE-LCHlch(38.21, 80.16, 300.73°)
OKLaboklab(48.42% 0.0207 -0.1988)
OKLCHoklch(48.42% 0.2 275.9)
XYZxyz(15.7473, 10.2044, 58.2548)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747CC #CCCC47
analogous
#478ACC #4747CC #8A47CC
triadic
#4747CC #CC4747 #47CC47
tetradic
#4747CC #CC478A #CCCC47 #47CC8A
square
#4747CC #CC478A #CCCC47 #47CC8A
split-complementary
#4747CC #CC8A47 #8ACC47
monochromatic
#212177 #2E2EA7 #4747CC #7777D9 #A7A7E7

Accessibility & contrast

On white

6.91
#4747CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4747CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4747CC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747CC#FFFFFF#000000##FFFFFF
##4747CC1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4747cc;
/* rgb */ color: rgb(71, 71, 204);
/* oklch */ color: oklch(48.4% 0.200 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a7bdd',
    500: '#4747cc',
    950: '#000000',
  },
}
SCSS
$custom: #4747cc;
$custom-light: #8a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4747cc",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48422,
    "c": 0.19984,
    "h": 275.9
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#4747CC
secondary
#D4D49B
accent
#E048E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4747CC

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

Preview Lab → · Contrast checker → · Palette generator →

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