#4C47CD#4C47CD

#4C47CD is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.9% C 0.200 H 277.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4C47CD
RGBrgb(76, 71, 205)
HSLhsl(242, 57%, 54%)
HSVhsv(242, 65%, 80%)
CMYKcmyk(62.9%, 65.4%, 0%, 19.6%)
CIE-LABlab(38.64, 42.00, -68.76)
CIE-LCHlch(38.64, 80.58, 301.42°)
OKLaboklab(48.85% 0.0266 -0.1982)
OKLCHoklch(48.85% 0.2 277.6)
XYZxyz(16.2496, 10.4495, 58.9064)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C47CD #C8CD47
analogous
#4785CD #4C47CD #8F47CD
triadic
#4C47CD #CD4C47 #47CD4C
tetradic
#4C47CD #CD4785 #C8CD47 #47CD8F
square
#4C47CD #CD4785 #C8CD47 #47CD8F
split-complementary
#4C47CD #CD8F47 #85CD47
monochromatic
#242179 #322EA9 #4C47CD #7B77DA #AAA7E7

Accessibility & contrast

On white

6.80
#4C47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4C47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C47CD
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C47CD#FFFFFF#000000##FFFFFF
##4C47CD1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c47cd;
/* rgb */ color: rgb(76, 71, 205);
/* oklch */ color: oklch(48.9% 0.200 277.6);
Tailwind
colors: {
  custom: {
    50: '#8c7bdd',
    500: '#4c47cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c47cd;
$custom-light: #8c7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c47cd",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 242.239,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48851,
    "c": 0.2,
    "h": 277.6
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#4C47CD
secondary
#D2D49B
accent
#E147DB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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