#4A47BE#4A47BE

#4A47BE is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.181 H 278.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4A47BE
RGBrgb(74, 71, 190)
HSLhsl(242, 48%, 51%)
HSVhsv(242, 63%, 75%)
CMYKcmyk(61.1%, 62.6%, 0%, 25.5%)
CIE-LABlab(37.26, 36.79, -62.28)
CIE-LCHlch(37.26, 72.34, 300.57°)
OKLaboklab(47.43% 0.0254 -0.1793)
OKLCHoklch(47.43% 0.181 278.1)
XYZxyz(14.3686, 9.6789, 49.8163)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A47BE #BBBE47
analogous
#477FBE #4A47BE #8547BE
triadic
#4A47BE #BE4A47 #47BE4A
tetradic
#4A47BE #BE477F #BBBE47 #47BE85
square
#4A47BE #BE477F #BBBE47 #47BE85
split-complementary
#4A47BE #BE8547 #7FBE47
monochromatic
#262466 #373494 #4A47BE #7674CE #A3A1DE

Accessibility & contrast

On white

7.15
#4A47BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4A47BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A47BE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A47BE#FFFFFF#000000##FFFFFF
##4A47BE1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a47be;
/* rgb */ color: rgb(74, 71, 190);
/* oklch */ color: oklch(47.4% 0.181 278.1);
Tailwind
colors: {
  custom: {
    50: '#897ad3',
    500: '#4a47be',
    950: '#000000',
  },
}
SCSS
$custom: #4a47be;
$custom-light: #897ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a47be",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 241.513,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.18105,
    "h": 278.1
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#4A47BE
secondary
#C9CB96
accent
#D750D4
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4A47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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