#4A47BB#4A47BB

#4A47BB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.177 H 278.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4A47BB
RGBrgb(74, 71, 187)
HSLhsl(242, 46%, 51%)
HSVhsv(242, 62%, 73%)
CMYKcmyk(60.4%, 62%, 0%, 26.7%)
CIE-LABlab(37.02, 35.80, -60.91)
CIE-LCHlch(37.02, 70.65, 300.44°)
OKLaboklab(47.18% 0.0256 -0.1752)
OKLCHoklch(47.18% 0.177 278.3)
XYZxyz(14.0440, 9.5491, 48.1072)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A47BB #B8BB47
analogous
#477EBB #4A47BB #8447BB
triadic
#4A47BB #BB4A47 #47BB4A
tetradic
#4A47BB #BB477E #B8BB47 #47BB84
square
#4A47BB #BB477E #B8BB47 #47BB84
split-complementary
#4A47BB #BB8447 #7EBB47
monochromatic
#262563 #373590 #4A47BB #7674CC #A2A0DC

Accessibility & contrast

On white

7.22
#4A47BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4A47BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A47BB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A47BB#FFFFFF#000000##FFFFFF
##4A47BB1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a47bb;
/* rgb */ color: rgb(74, 71, 187);
/* oklch */ color: oklch(47.2% 0.177 278.3);
Tailwind
colors: {
  custom: {
    50: '#887ad0',
    500: '#4a47bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a47bb;
$custom-light: #887ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a47bb",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 241.552,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47177,
    "c": 0.1771,
    "h": 278.3
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#4A47BB
secondary
#C7C995
accent
#D652D2
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4A47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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