#4847CE#4847CE

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

Color values

HEX#4847CE
RGBrgb(72, 71, 206)
HSLhsl(240, 58%, 54%)
HSVhsv(240, 66%, 81%)
CMYKcmyk(65%, 65.5%, 0%, 19.2%)
CIE-LABlab(38.44, 41.76, -69.67)
CIE-LCHlch(38.44, 81.23, 300.94°)
OKLaboklab(48.67% 0.0217 -0.201)
OKLCHoklch(48.67% 0.202 276.2)
XYZxyz(16.0627, 10.3391, 59.5297)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847CE #CDCE47
analogous
#478ACE #4847CE #8B47CE
triadic
#4847CE #CE4847 #47CE48
tetradic
#4847CE #CE478A #CDCE47 #47CE8B
square
#4847CE #CE478A #CDCE47 #47CE8B
split-complementary
#4847CE #CE8B47 #8ACE47
monochromatic
#21217A #2E2DAA #4847CE #7877DB #A8A8E8

Accessibility & contrast

On white

6.84
#4847CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4847CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4847CE#FFFFFF#000000##FFFFFF
##4847CE1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4847ce;
/* rgb */ color: rgb(72, 71, 206);
/* oklch */ color: oklch(48.7% 0.202 276.2);
Tailwind
colors: {
  custom: {
    50: '#8b7bde',
    500: '#4847ce',
    950: '#000000',
  },
}
SCSS
$custom: #4847ce;
$custom-light: #8b7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4847ce",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 240.444,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48665,
    "c": 0.20215,
    "h": 276.2
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#4847CE
secondary
#D5D59C
accent
#E147E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4847CE

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

Preview Lab → · Contrast checker → · Palette generator →

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