#4A47BC#4A47BC

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

Color values

HEX#4A47BC
RGBrgb(74, 71, 188)
HSLhsl(242, 47%, 51%)
HSVhsv(242, 62%, 74%)
CMYKcmyk(60.6%, 62.2%, 0%, 26.3%)
CIE-LABlab(37.10, 36.13, -61.37)
CIE-LCHlch(37.10, 71.21, 300.48°)
OKLaboklab(47.26% 0.0255 -0.1766)
OKLCHoklch(47.26% 0.178 278.2)
XYZxyz(14.1515, 9.5921, 48.6729)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A47BC #B9BC47
analogous
#477FBC #4A47BC #8447BC
triadic
#4A47BC #BC4A47 #47BC4A
tetradic
#4A47BC #BC477F #B9BC47 #47BC84
square
#4A47BC #BC477F #B9BC47 #47BC84
split-complementary
#4A47BC #BC8447 #7FBC47
monochromatic
#262464 #373591 #4A47BC #7674CC #A2A1DD

Accessibility & contrast

On white

7.20
#4A47BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4A47BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A47BC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A47BC#FFFFFF#000000##FFFFFF
##4A47BC1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a47bc;
/* rgb */ color: rgb(74, 71, 188);
/* oklch */ color: oklch(47.3% 0.178 278.2);
Tailwind
colors: {
  custom: {
    50: '#887ad1',
    500: '#4a47bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a47bc;
$custom-light: #887ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a47bc",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 241.538,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4726,
    "c": 0.17842,
    "h": 278.2
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#4A47BC
secondary
#C8C995
accent
#D652D3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4A47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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