#4C47BC#4C47BC

#4C47BC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.178 H 279.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4C47BC
RGBrgb(76, 71, 188)
HSLhsl(243, 47%, 51%)
HSVhsv(243, 62%, 74%)
CMYKcmyk(59.6%, 62.2%, 0%, 26.3%)
CIE-LABlab(37.25, 36.46, -61.12)
CIE-LCHlch(37.25, 71.17, 300.82°)
OKLaboklab(47.41% 0.028 -0.1758)
OKLCHoklch(47.41% 0.178 279.1)
XYZxyz(14.3079, 9.6728, 48.6803)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C47BC #B7BC47
analogous
#477CBC #4C47BC #8647BC
triadic
#4C47BC #BC4C47 #47BC4C
tetradic
#4C47BC #BC477C #B7BC47 #47BC86
square
#4C47BC #BC477C #B7BC47 #47BC86
split-complementary
#4C47BC #BC8647 #7CBC47
monochromatic
#272464 #393591 #4C47BC #7874CC #A3A1DD

Accessibility & contrast

On white

7.16
#4C47BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4C47BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C47BC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C47BC#FFFFFF#000000##FFFFFF
##4C47BC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4c47bc;
/* rgb */ color: rgb(76, 71, 188);
/* oklch */ color: oklch(47.4% 0.178 279.1);
Tailwind
colors: {
  custom: {
    50: '#897ad1',
    500: '#4c47bc',
    950: '#000000',
  },
}
SCSS
$custom: #4c47bc;
$custom-light: #897ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c47bc",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 242.564,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47407,
    "c": 0.17801,
    "h": 279.1
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#4C47BC
secondary
#C7C995
accent
#D652D1
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4C47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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