#4A47BD#4A47BD

#4A47BD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.180 H 278.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4A47BD
RGBrgb(74, 71, 189)
HSLhsl(242, 47%, 51%)
HSVhsv(242, 62%, 74%)
CMYKcmyk(60.8%, 62.4%, 0%, 25.9%)
CIE-LABlab(37.18, 36.46, -61.83)
CIE-LCHlch(37.18, 71.78, 300.53°)
OKLaboklab(47.34% 0.0255 -0.1779)
OKLCHoklch(47.34% 0.18 278.1)
XYZxyz(14.2596, 9.6354, 49.2426)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A47BD #BABD47
analogous
#477FBD #4A47BD #8547BD
triadic
#4A47BD #BD4A47 #47BD4A
tetradic
#4A47BD #BD477F #BABD47 #47BD85
square
#4A47BD #BD477F #BABD47 #47BD85
split-complementary
#4A47BD #BD8547 #7FBD47
monochromatic
#262465 #373492 #4A47BD #7674CD #A3A1DD

Accessibility & contrast

On white

7.17
#4A47BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4A47BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A47BD
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A47BD#FFFFFF#000000##FFFFFF
##4A47BD1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a47bd;
/* rgb */ color: rgb(74, 71, 189);
/* oklch */ color: oklch(47.3% 0.180 278.1);
Tailwind
colors: {
  custom: {
    50: '#887ad2',
    500: '#4a47bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a47bd;
$custom-light: #887ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a47bd",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 241.525,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.17974,
    "h": 278.1
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#4A47BD
secondary
#C9CA96
accent
#D751D3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4A47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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