#4747AC#4747AC

#4747AC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.157 H 278.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#4747AC
RGBrgb(71, 71, 172)
HSLhsl(240, 42%, 48%)
HSVhsv(240, 59%, 67%)
CMYKcmyk(58.7%, 58.7%, 0%, 32.5%)
CIE-LABlab(35.64, 30.28, -54.29)
CIE-LCHlch(35.64, 62.16, 299.15°)
OKLaboklab(45.74% 0.0224 -0.1559)
OKLCHoklch(45.74% 0.157 278.2)
XYZxyz(12.2958, 8.8238, 40.0769)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4747AC #ACAC47
analogous
#4779AC #4747AC #7947AC
triadic
#4747AC #AC4747 #47AC47
tetradic
#4747AC #AC4779 #ACAC47 #47AC79
square
#4747AC #AC4779 #ACAC47 #47AC79
split-complementary
#4747AC #AC7947 #79AC47
monochromatic
#232355 #353581 #4747AC #6D6DC3 #9999D5

Accessibility & contrast

On white

7.59
#4747AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4747AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4747AC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4747AC#FFFFFF#000000##FFFFFF
##4747AC1.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4747ac;
/* rgb */ color: rgb(71, 71, 172);
/* oklch */ color: oklch(45.7% 0.157 278.2);
Tailwind
colors: {
  custom: {
    50: '#847ac5',
    500: '#4747ac',
    950: '#000000',
  },
}
SCSS
$custom: #4747ac;
$custom-light: #847ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4747ac",
  "rgb": {
    "r": 71,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.15746,
    "h": 278.2
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#4747AC
secondary
#C1C18E
accent
#D156D1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4747AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4747AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva