#4A47E1#4A47E1

#4A47E1 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.225 H 275.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4A47E1
RGBrgb(74, 71, 225)
HSLhsl(241, 72%, 58%)
HSVhsv(241, 68%, 88%)
CMYKcmyk(67.1%, 68.4%, 0%, 11.8%)
CIE-LABlab(40.24, 48.20, -77.63)
CIE-LCHlch(40.24, 91.37, 301.84°)
OKLaboklab(50.51% 0.0218 -0.2242)
OKLCHoklch(50.51% 0.225 275.6)
XYZxyz(18.6634, 11.3969, 72.4358)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A47E1 #DEE147
analogous
#4791E1 #4A47E1 #9747E1
triadic
#4A47E1 #E14A47 #47E14A
tetradic
#4A47E1 #E14791 #DEE147 #47E197
square
#4A47E1 #E14791 #DEE147 #47E197
split-complementary
#4A47E1 #E19747 #91E147
monochromatic
#1B1895 #2421CA #4A47E1 #7E7CEA #B2B0F2

Accessibility & contrast

On white

6.40
#4A47E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4A47E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A47E1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A47E1#FFFFFF#000000##FFFFFF
##4A47E11.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#0058DE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a47e1;
/* rgb */ color: rgb(74, 71, 225);
/* oklch */ color: oklch(50.5% 0.225 275.6);
Tailwind
colors: {
  custom: {
    50: '#8f7bec',
    500: '#4a47e1',
    950: '#000000',
  },
}
SCSS
$custom: #4a47e1;
$custom-light: #8f7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a47e1",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 241.169,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.50508,
    "c": 0.22529,
    "h": 275.6
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

primary
#4A47E1
secondary
#DFE1A3
accent
#EF39EB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4A47E1

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

Preview Lab → · Contrast checker → · Palette generator →

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