#4847CC#4847CC

#4847CC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.5% C 0.200 H 276.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4847CC
RGBrgb(72, 71, 204)
HSLhsl(240, 57%, 54%)
HSVhsv(240, 65%, 80%)
CMYKcmyk(64.7%, 65.2%, 0%, 20%)
CIE-LABlab(38.27, 41.10, -68.79)
CIE-LCHlch(38.27, 80.14, 300.86°)
OKLaboklab(48.49% 0.0219 -0.1984)
OKLCHoklch(48.49% 0.2 276.3)
XYZxyz(15.8212, 10.2425, 58.2583)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847CC #CBCC47
analogous
#4789CC #4847CC #8B47CC
triadic
#4847CC #CC4847 #47CC48
tetradic
#4847CC #CC4789 #CBCC47 #47CC8B
square
#4847CC #CC4789 #CBCC47 #47CC8B
split-complementary
#4847CC #CC8B47 #89CC47
monochromatic
#222177 #2F2EA7 #4847CC #7877D9 #A7A7E7

Accessibility & contrast

On white

6.89
#4847CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4847CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4847CC#FFFFFF#000000##FFFFFF
##4847CC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0054C9
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4847cc;
/* rgb */ color: rgb(72, 71, 204);
/* oklch */ color: oklch(48.5% 0.200 276.3);
Tailwind
colors: {
  custom: {
    50: '#8a7bdd',
    500: '#4847cc',
    950: '#000000',
  },
}
SCSS
$custom: #4847cc;
$custom-light: #8a7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4847cc",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 240.451,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48489,
    "c": 0.19961,
    "h": 276.3
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#4847CC
secondary
#D3D49B
accent
#E048DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4847CC

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

Preview Lab → · Contrast checker → · Palette generator →

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