#4A47CC#4A47CC

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

Color values

HEX#4A47CC
RGBrgb(74, 71, 204)
HSLhsl(241, 57%, 54%)
HSVhsv(241, 65%, 80%)
CMYKcmyk(63.7%, 65.2%, 0%, 20%)
CIE-LABlab(38.41, 41.39, -68.56)
CIE-LCHlch(38.41, 80.08, 301.12°)
OKLaboklab(48.63% 0.0243 -0.1977)
OKLCHoklch(48.63% 0.199 277)
XYZxyz(15.9728, 10.3206, 58.2654)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A47CC #C9CC47
analogous
#4787CC #4A47CC #8D47CC
triadic
#4A47CC #CC4A47 #47CC4A
tetradic
#4A47CC #CC4787 #C9CC47 #47CC8D
square
#4A47CC #CC4787 #C9CC47 #47CC8D
split-complementary
#4A47CC #CC8D47 #87CC47
monochromatic
#232177 #312EA7 #4A47CC #7977D9 #A8A7E7

Accessibility & contrast

On white

6.85
#4A47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A47CC
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A47CC#FFFFFF#000000##FFFFFF
##4A47CC1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a47cc;
/* rgb */ color: rgb(74, 71, 204);
/* oklch */ color: oklch(48.6% 0.199 277.0);
Tailwind
colors: {
  custom: {
    50: '#8b7bdd',
    500: '#4a47cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a47cc;
$custom-light: #8b7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a47cc",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 241.353,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48625,
    "c": 0.19916,
    "h": 277
  },
  "luminance": 0.10322
}

Semantic roles & 50–950 ramp

primary
#4A47CC
secondary
#D2D49B
accent
#E048DC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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