#4A47BA#4A47BA

#4A47BA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.176 H 278.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4A47BA
RGBrgb(74, 71, 186)
HSLhsl(242, 45%, 50%)
HSVhsv(242, 62%, 73%)
CMYKcmyk(60.2%, 61.8%, 0%, 27.1%)
CIE-LABlab(36.94, 35.47, -60.45)
CIE-LCHlch(36.94, 70.09, 300.40°)
OKLaboklab(47.09% 0.0257 -0.1739)
OKLCHoklch(47.09% 0.176 278.4)
XYZxyz(13.9374, 9.5065, 47.5453)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A47BA #B7BA47
analogous
#477DBA #4A47BA #8347BA
triadic
#4A47BA #BA4A47 #47BA4A
tetradic
#4A47BA #BA477D #B7BA47 #47BA83
square
#4A47BA #BA477D #B7BA47 #47BA83
split-complementary
#4A47BA #BA8347 #7DBA47
monochromatic
#262562 #38358E #4A47BA #7674CB #A2A0DB

Accessibility & contrast

On white

7.24
#4A47BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4A47BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A47BA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A47BA#FFFFFF#000000##FFFFFF
##4A47BA1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a47ba;
/* rgb */ color: rgb(74, 71, 186);
/* oklch */ color: oklch(47.1% 0.176 278.4);
Tailwind
colors: {
  custom: {
    50: '#887ad0',
    500: '#4a47ba',
    950: '#000000',
  },
}
SCSS
$custom: #4a47ba;
$custom-light: #887ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a47ba",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 241.565,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47094,
    "c": 0.17577,
    "h": 278.4
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

primary
#4A47BA
secondary
#C7C895
accent
#D553D2
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4A47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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