#4847AE#4847AE

#4847AE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.160 H 278.5°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4847AE
RGBrgb(72, 71, 174)
HSLhsl(241, 42%, 48%)
HSVhsv(241, 59%, 68%)
CMYKcmyk(58.6%, 59.2%, 0%, 31.8%)
CIE-LABlab(35.87, 31.13, -55.11)
CIE-LCHlch(35.87, 63.30, 299.46°)
OKLaboklab(45.97% 0.0236 -0.1582)
OKLCHoklch(45.97% 0.16 278.5)
XYZxyz(12.5633, 8.9393, 41.0996)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847AE #ADAE47
analogous
#4779AE #4847AE #7C47AE
triadic
#4847AE #AE4847 #47AE48
tetradic
#4847AE #AE4779 #ADAE47 #47AE7C
square
#4847AE #AE4779 #ADAE47 #47AE7C
split-complementary
#4847AE #AE7C47 #79AE47
monochromatic
#242457 #363583 #4847AE #6F6EC4 #9A9AD6

Accessibility & contrast

On white

7.53
#4847AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4847AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4847AE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4847AE#FFFFFF#000000##FFFFFF
##4847AE1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#036073
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4847ae;
/* rgb */ color: rgb(72, 71, 174);
/* oklch */ color: oklch(46.0% 0.160 278.5);
Tailwind
colors: {
  custom: {
    50: '#857ac7',
    500: '#4847ae',
    950: '#000000',
  },
}
SCSS
$custom: #4847ae;
$custom-light: #857ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4847ae",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 240.583,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45974,
    "c": 0.16,
    "h": 278.5
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#4847AE
secondary
#C1C28F
accent
#D256D1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4847AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4847AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva