#4847CD#4847CD

#4847CD is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.6% C 0.201 H 276.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4847CD
RGBrgb(72, 71, 205)
HSLhsl(240, 57%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(64.9%, 65.4%, 0%, 19.6%)
CIE-LABlab(38.36, 41.43, -69.23)
CIE-LCHlch(38.36, 80.68, 300.90°)
OKLaboklab(48.58% 0.0218 -0.1997)
OKLCHoklch(48.58% 0.201 276.2)
XYZxyz(15.9416, 10.2906, 58.8920)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847CD #CCCD47
analogous
#4789CD #4847CD #8B47CD
triadic
#4847CD #CD4847 #47CD48
tetradic
#4847CD #CD4789 #CCCD47 #47CD8B
square
#4847CD #CD4789 #CCCD47 #47CD8B
split-complementary
#4847CD #CD8B47 #89CD47
monochromatic
#212179 #2F2EA9 #4847CD #7877DA #A8A7E7

Accessibility & contrast

On white

6.87
#4847CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4847CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4847CD#FFFFFF#000000##FFFFFF
##4847CD1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4847cd;
/* rgb */ color: rgb(72, 71, 205);
/* oklch */ color: oklch(48.6% 0.201 276.2);
Tailwind
colors: {
  custom: {
    50: '#8a7bdd',
    500: '#4847cd',
    950: '#000000',
  },
}
SCSS
$custom: #4847cd;
$custom-light: #8a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4847cd",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 240.448,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.20088,
    "h": 276.2
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

primary
#4847CD
secondary
#D4D49B
accent
#E147DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4847CD

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

Preview Lab → · Contrast checker → · Palette generator →

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