#4C47DA#4C47DA

#4C47DA is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.0% C 0.216 H 276.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4C47DA
RGBrgb(76, 71, 218)
HSLhsl(242, 67%, 57%)
HSVhsv(242, 67%, 85%)
CMYKcmyk(65.1%, 67.4%, 0%, 14.5%)
CIE-LABlab(39.75, 46.20, -74.42)
CIE-LCHlch(39.75, 87.59, 301.83°)
OKLaboklab(50% 0.0251 -0.2148)
OKLCHoklch(50% 0.216 276.7)
XYZxyz(17.8845, 11.1034, 67.5168)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C47DA #D5DA47
analogous
#478CDA #4C47DA #9647DA
triadic
#4C47DA #DA4C47 #47DA4C
tetradic
#4C47DA #DA478C #D5DA47 #47DA96
square
#4C47DA #DA478C #D5DA47 #47DA96
split-complementary
#4C47DA #DA9647 #8CDA47
monochromatic
#201C8B #2B26BE #4C47DA #7E7AE4 #AFADEE

Accessibility & contrast

On white

6.52
#4C47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4C47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C47DA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C47DA#FFFFFF#000000##FFFFFF
##4C47DA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DF
Deuteranopia (green-blind)
#0057D7
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c47da;
/* rgb */ color: rgb(76, 71, 218);
/* oklch */ color: oklch(50.0% 0.216 276.7);
Tailwind
colors: {
  custom: {
    50: '#8f7be7',
    500: '#4c47da',
    950: '#000000',
  },
}
SCSS
$custom: #4c47da;
$custom-light: #8f7be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c47da",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 242.041,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50002,
    "c": 0.21626,
    "h": 276.7
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#4C47DA
secondary
#DADCA0
accent
#E93EE4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4C47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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