#4C47CA#4C47CA

#4C47CA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.196 H 277.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4C47CA
RGBrgb(76, 71, 202)
HSLhsl(242, 55%, 54%)
HSVhsv(242, 65%, 79%)
CMYKcmyk(62.4%, 64.9%, 0%, 20.8%)
CIE-LABlab(38.39, 41.03, -67.44)
CIE-LCHlch(38.39, 78.94, 301.31°)
OKLaboklab(48.59% 0.0269 -0.1943)
OKLCHoklch(48.59% 0.196 277.9)
XYZxyz(15.8910, 10.3060, 57.0175)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C47CA #C5CA47
analogous
#4783CA #4C47CA #8D47CA
triadic
#4C47CA #CA4C47 #47CA4C
tetradic
#4C47CA #CA4783 #C5CA47 #47CA8D
square
#4C47CA #CA4783 #C5CA47 #47CA8D
split-complementary
#4C47CA #CA8D47 #83CA47
monochromatic
#252275 #342FA4 #4C47CA #7A77D8 #A8A6E5

Accessibility & contrast

On white

6.86
#4C47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4C47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C47CA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C47CA#FFFFFF#000000##FFFFFF
##4C47CA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4c47ca;
/* rgb */ color: rgb(76, 71, 202);
/* oklch */ color: oklch(48.6% 0.196 277.9);
Tailwind
colors: {
  custom: {
    50: '#8c7bdb',
    500: '#4c47ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c47ca;
$custom-light: #8c7bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c47ca",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 242.29,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48591,
    "c": 0.19619,
    "h": 277.9
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#4C47CA
secondary
#D0D29A
accent
#DF49D9
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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