#4847AC#4847AC

#4847AC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.157 H 278.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#4847AC
RGBrgb(72, 71, 172)
HSLhsl(241, 42%, 48%)
HSVhsv(241, 59%, 67%)
CMYKcmyk(58.1%, 58.7%, 0%, 32.5%)
CIE-LABlab(35.72, 30.47, -54.17)
CIE-LCHlch(35.72, 62.15, 299.35°)
OKLaboklab(45.82% 0.0236 -0.1555)
OKLCHoklch(45.82% 0.157 278.6)
XYZxyz(12.3698, 8.8619, 40.0804)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847AC #ABAC47
analogous
#4778AC #4847AC #7A47AC
triadic
#4847AC #AC4847 #47AC48
tetradic
#4847AC #AC4778 #ABAC47 #47AC7A
square
#4847AC #AC4778 #ABAC47 #47AC7A
split-complementary
#4847AC #AC7A47 #78AC47
monochromatic
#242355 #363581 #4847AC #6E6DC3 #9999D5

Accessibility & contrast

On white

7.57
#4847AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4847AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4847AC#FFFFFF#000000##FFFFFF
##4847AC1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#095F72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4847ac;
/* rgb */ color: rgb(72, 71, 172);
/* oklch */ color: oklch(45.8% 0.157 278.6);
Tailwind
colors: {
  custom: {
    50: '#847ac5',
    500: '#4847ac',
    950: '#000000',
  },
}
SCSS
$custom: #4847ac;
$custom-light: #847ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4847ac",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 240.594,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45816,
    "c": 0.15725,
    "h": 278.6
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#4847AC
secondary
#C0C18E
accent
#D156D0
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4847AC

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

Preview Lab → · Contrast checker → · Palette generator →

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