#4847AA#4847AA

#4847AA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.154 H 278.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4847AA
RGBrgb(72, 71, 170)
HSLhsl(241, 41%, 47%)
HSVhsv(241, 58%, 67%)
CMYKcmyk(57.6%, 58.2%, 0%, 33.3%)
CIE-LABlab(35.57, 29.80, -53.22)
CIE-LCHlch(35.57, 60.99, 299.25°)
OKLaboklab(45.66% 0.0236 -0.1527)
OKLCHoklch(45.66% 0.154 278.8)
XYZxyz(12.1791, 8.7856, 39.0764)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847AA #A9AA47
analogous
#4778AA #4847AA #7A47AA
triadic
#4847AA #AA4847 #47AA48
tetradic
#4847AA #AA4778 #A9AA47 #47AA7A
square
#4847AA #AA4778 #A9AA47 #47AA7A
split-complementary
#4847AA #AA7A47 #78AA47
monochromatic
#232354 #36357F #4847AA #6D6CC2 #9898D4

Accessibility & contrast

On white

7.62
#4847AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4847AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4847AA#FFFFFF#000000##FFFFFF
##4847AA1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#0F5E71
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4847aa;
/* rgb */ color: rgb(72, 71, 170);
/* oklch */ color: oklch(45.7% 0.154 278.8);
Tailwind
colors: {
  custom: {
    50: '#847ac4',
    500: '#4847aa',
    950: '#000000',
  },
}
SCSS
$custom: #4847aa;
$custom-light: #847ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4847aa",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 240.606,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.15449,
    "h": 278.8
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#4847AA
secondary
#BFC08D
accent
#D157D0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4847AA

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

Preview Lab → · Contrast checker → · Palette generator →

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