#4C47D3#4C47D3

#4C47D3 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.208 H 277.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4C47D3
RGBrgb(76, 71, 211)
HSLhsl(242, 61%, 55%)
HSVhsv(242, 66%, 83%)
CMYKcmyk(64%, 66.4%, 0%, 17.3%)
CIE-LABlab(39.15, 43.94, -71.39)
CIE-LCHlch(39.15, 83.83, 301.61°)
OKLaboklab(49.38% 0.026 -0.2059)
OKLCHoklch(49.38% 0.208 277.2)
XYZxyz(16.9878, 10.7447, 62.7941)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C47D3 #CED347
analogous
#4788D3 #4C47D3 #9247D3
triadic
#4C47D3 #D34C47 #47D34C
tetradic
#4C47D3 #D34788 #CED347 #47D392
square
#4C47D3 #D34788 #CED347 #47D392
split-complementary
#4C47D3 #D39247 #88D347
monochromatic
#221F81 #2F2BB2 #4C47D3 #7C78DF #ACAAEB

Accessibility & contrast

On white

6.67
#4C47D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4C47D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C47D3
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C47D3#FFFFFF#000000##FFFFFF
##4C47D31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c47d3;
/* rgb */ color: rgb(76, 71, 211);
/* oklch */ color: oklch(49.4% 0.208 277.2);
Tailwind
colors: {
  custom: {
    50: '#8d7be2',
    500: '#4c47d3',
    950: '#000000',
  },
}
SCSS
$custom: #4c47d3;
$custom-light: #8d7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c47d3",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 242.143,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49378,
    "c": 0.20756,
    "h": 277.2
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#4C47D3
secondary
#D6D89E
accent
#E543DF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0915
muted
#7E7B84

Preview Lab

Preview with #4C47D3

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

Preview Lab → · Contrast checker → · Palette generator →

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