#4847D1#4847D1

#4847D1 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 48.9% C 0.206 H 276.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4847D1
RGBrgb(72, 71, 209)
HSLhsl(240, 60%, 55%)
HSVhsv(240, 66%, 82%)
CMYKcmyk(65.6%, 66%, 0%, 18%)
CIE-LABlab(38.70, 42.75, -70.98)
CIE-LCHlch(38.70, 82.86, 301.06°)
OKLaboklab(48.93% 0.0214 -0.2048)
OKLCHoklch(48.93% 0.206 276)
XYZxyz(16.4306, 10.4862, 61.4674)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4847D1 #D0D147
analogous
#478BD1 #4847D1 #8D47D1
triadic
#4847D1 #D14847 #47D148
tetradic
#4847D1 #D1478B #D0D147 #47D18D
square
#4847D1 #D1478B #D0D147 #47D18D
split-complementary
#4847D1 #D18D47 #8BD147
monochromatic
#20207E #2D2CAF #4847D1 #7978DD #A9A9E9

Accessibility & contrast

On white

6.78
#4847D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4847D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4847D1#FFFFFF#000000##FFFFFF
##4847D11.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0055CE
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4847d1;
/* rgb */ color: rgb(72, 71, 209);
/* oklch */ color: oklch(48.9% 0.206 276.0);
Tailwind
colors: {
  custom: {
    50: '#8b7be0',
    500: '#4847d1',
    950: '#000000',
  },
}
SCSS
$custom: #4847d1;
$custom-light: #8b7be0;
$custom-dark: #000000;
JSON
{
  "hex": "#4847d1",
  "rgb": {
    "r": 72,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 240.435,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48931,
    "c": 0.20594,
    "h": 276
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#4847D1
secondary
#D7D79D
accent
#E345E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4847D1

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

Preview Lab → · Contrast checker → · Palette generator →

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