#4C47D4#4C47D4

#4C47D4 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.5% C 0.209 H 277.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4C47D4
RGBrgb(76, 71, 212)
HSLhsl(242, 62%, 55%)
HSVhsv(242, 67%, 83%)
CMYKcmyk(64.2%, 66.5%, 0%, 16.9%)
CIE-LABlab(39.23, 44.27, -71.83)
CIE-LCHlch(39.23, 84.37, 301.64°)
OKLaboklab(49.47% 0.0259 -0.2072)
OKLCHoklch(49.47% 0.209 277.1)
XYZxyz(17.1135, 10.7950, 63.4564)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C47D4 #CFD447
analogous
#4788D4 #4C47D4 #9347D4
triadic
#4C47D4 #D44C47 #47D44C
tetradic
#4C47D4 #D44788 #CFD447 #47D493
square
#4C47D4 #D44788 #CFD447 #47D493
split-complementary
#4C47D4 #D49347 #88D447
monochromatic
#221E82 #2F2AB4 #4C47D4 #7C79E0 #ADAAEB

Accessibility & contrast

On white

6.65
#4C47D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4C47D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C47D4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C47D4#FFFFFF#000000##FFFFFF
##4C47D41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c47d4;
/* rgb */ color: rgb(76, 71, 212);
/* oklch */ color: oklch(49.5% 0.209 277.1);
Tailwind
colors: {
  custom: {
    50: '#8e7be2',
    500: '#4c47d4',
    950: '#000000',
  },
}
SCSS
$custom: #4c47d4;
$custom-light: #8e7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c47d4",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 242.128,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.49466,
    "c": 0.20882,
    "h": 277.1
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#4C47D4
secondary
#D7D99E
accent
#E543DF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4C47D4

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

Preview Lab → · Contrast checker → · Palette generator →

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