#4A47AC#4A47AC

#4A47AC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.157 H 279.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4A47AC
RGBrgb(74, 71, 172)
HSLhsl(242, 42%, 48%)
HSVhsv(242, 59%, 67%)
CMYKcmyk(57%, 58.7%, 0%, 32.5%)
CIE-LABlab(35.87, 30.84, -53.92)
CIE-LCHlch(35.87, 62.11, 299.77°)
OKLaboklab(45.97% 0.0261 -0.1547)
OKLCHoklch(45.97% 0.157 279.6)
XYZxyz(12.5213, 8.9400, 40.0875)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A47AC #A9AC47
analogous
#4777AC #4A47AC #7C47AC
triadic
#4A47AC #AC4A47 #47AC4A
tetradic
#4A47AC #AC4777 #A9AC47 #47AC7C
square
#4A47AC #AC4777 #A9AC47 #47AC7C
split-complementary
#4A47AC #AC7C47 #77AC47
monochromatic
#252355 #373581 #4A47AC #706DC3 #9A99D5

Accessibility & contrast

On white

7.53
#4A47AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4A47AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A47AC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A47AC#FFFFFF#000000##FFFFFF
##4A47AC1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#155F72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a47ac;
/* rgb */ color: rgb(74, 71, 172);
/* oklch */ color: oklch(46.0% 0.157 279.6);
Tailwind
colors: {
  custom: {
    50: '#857ac5',
    500: '#4a47ac',
    950: '#000000',
  },
}
SCSS
$custom: #4a47ac;
$custom-light: #857ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a47ac",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 241.782,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.15685,
    "h": 279.6
  },
  "luminance": 0.08941
}

Semantic roles & 50–950 ramp

primary
#4A47AC
secondary
#BFC18E
accent
#D156CE
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4A47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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