#4C47CB#4C47CB

#4C47CB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.197 H 277.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4C47CB
RGBrgb(76, 71, 203)
HSLhsl(242, 56%, 54%)
HSVhsv(242, 65%, 80%)
CMYKcmyk(62.6%, 65%, 0%, 20.4%)
CIE-LABlab(38.47, 41.35, -67.88)
CIE-LCHlch(38.47, 79.48, 301.35°)
OKLaboklab(48.68% 0.0268 -0.1956)
OKLCHoklch(48.68% 0.197 277.8)
XYZxyz(16.0097, 10.3535, 57.6431)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C47CB #C6CB47
analogous
#4784CB #4C47CB #8E47CB
triadic
#4C47CB #CB4C47 #47CB4C
tetradic
#4C47CB #CB4784 #C6CB47 #47CB8E
square
#4C47CB #CB4784 #C6CB47 #47CB8E
split-complementary
#4C47CB #CB8E47 #84CB47
monochromatic
#252176 #332FA6 #4C47CB #7A77D8 #A9A6E6

Accessibility & contrast

On white

6.84
#4C47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4C47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C47CB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C47CB#FFFFFF#000000##FFFFFF
##4C47CB1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c47cb;
/* rgb */ color: rgb(76, 71, 203);
/* oklch */ color: oklch(48.7% 0.197 277.8);
Tailwind
colors: {
  custom: {
    50: '#8c7bdc',
    500: '#4c47cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c47cb;
$custom-light: #8c7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c47cb",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 242.273,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48677,
    "c": 0.19746,
    "h": 277.8
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#4C47CB
secondary
#D1D39B
accent
#DF49DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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