#4C47DC#4C47DC

#4C47DC is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.219 H 276.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4C47DC
RGBrgb(76, 71, 220)
HSLhsl(242, 68%, 57%)
HSVhsv(242, 68%, 86%)
CMYKcmyk(65.5%, 67.7%, 0%, 13.7%)
CIE-LABlab(39.93, 46.84, -75.28)
CIE-LCHlch(39.93, 88.66, 301.89°)
OKLaboklab(50.18% 0.0249 -0.2173)
OKLCHoklch(50.18% 0.219 276.5)
XYZxyz(18.1478, 11.2087, 68.9034)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C47DC #D7DC47
analogous
#478DDC #4C47DC #9647DC
triadic
#4C47DC #DC4C47 #47DC4C
tetradic
#4C47DC #DC478D #D7DC47 #47DC96
square
#4C47DC #DC478D #D7DC47 #47DC96
split-complementary
#4C47DC #DC9647 #8DDC47
monochromatic
#1F1B8E #2A25C1 #4C47DC #7E7AE6 #B0AEF0

Accessibility & contrast

On white

6.48
#4C47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4C47DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C47DC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C47DC#FFFFFF#000000##FFFFFF
##4C47DC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#0058D9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c47dc;
/* rgb */ color: rgb(76, 71, 220);
/* oklch */ color: oklch(50.2% 0.219 276.5);
Tailwind
colors: {
  custom: {
    50: '#8f7be8',
    500: '#4c47dc',
    950: '#000000',
  },
}
SCSS
$custom: #4c47dc;
$custom-light: #8f7be8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c47dc",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 242.013,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50183,
    "c": 0.21872,
    "h": 276.5
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#4C47DC
secondary
#DCDEA1
accent
#EB3DE5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4C47DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4C47DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva